Textbox visibility

Results 1 to 3 of 3

Thread: Textbox visibility

  1. #1
    Join Date
    Dec 1969

    Default Textbox visibility

    I know that I can set a textbox's style property to visibility:hidden to hide the box. Can I do the same by using code? Does anyone have an example.

  2. #2
    Join Date
    Dec 1969

    Default Sure, with JavaScript <eop>


  3. #3
    Join Date
    Dec 1969

    Default To find this kind of stuff...

    ...first, bookmark this page:<BR><BR>http://msdn.microsoft.com/library/?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp<BR><BR>Click on "HTML ELements" from there.<BR><BR>Click on the type of element you want to see (e.g., in this case, "input type=text").<BR><BR>In the panel with the scroll bar and the several topics, check both "Attributes/Properties" and "Styles", as needed, to find this stuff.<BR><BR>In this case, you&#039;d click "Styles" and then search for "visibility". Click on that.<BR><BR>You get to here:<BR>http://msdn.microsoft.com/library/?url=/workshop/author/dhtml/reference/properties/visibility.asp<BR><BR>Read.<BR><BR>Under "syntax" it shows you the scripting needed for this property.<BR><BR>Hokay?<BR><BR>******************* **<BR><BR>CAUTION: This does *NOT* work in NS browsers! In NS 4, you can *NOT* hide any individual form field. (You can put an entire &#060;FORM&#062; on a &#060;LAYER&#062; and then hide the entire layer, but that&#039;s about it.)<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