Urgent !!!!!

Results 1 to 3 of 3

Thread: Urgent !!!!!

  1. #1
    Join Date
    Dec 1969

    Default Urgent !!!!!

    How can I show / hide different HTML form elements on button click event using Client Side Script in JavaScript & it should work in both Netscape & IE ?

  2. #2
    Join Date
    Dec 1969

    Default RE: Urgent !!!!!

    You can&#039t really dynamically hide / unhide page elements is Netscape - it doesn&#039t dynamically render the document. Once it&#039s rendered, that&#039s it. You can move stuff around, but only if it&#039s absolutley positioned - the idea of trying to lay out a form absolutely gives me the horrors (especially cross-browser).<BR><BR>Learn the limitations of the client!!<BR><BR>Dunc

  3. #3
    gfdgdfsgfd Guest

    Default RE: Urgent !!!!!

    On your event, call a function which then sets the element style attribute visibility = "hidden" or visibility = "visible"<BR><BR>eg:<BR>function ButtonClicked()<BR>{<BR>FormName.ElementName.style .visibility = "hidden" ;<BR>}<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts