input border

Results 1 to 2 of 2

Thread: input border

  1. #1
    Join Date
    Dec 1969

    Default input border

    what is the default value of an input box's border. I dynamically change the border of an input box to "none" by changing its border value in a = "none". Now I want to put it back the way it was...How do I do it? I can't find it's original value???

  2. #2
    Join Date
    Dec 1969

    Default You have to save the original..

    .. value.<BR><BR>&#060;script language="JavaScript"&#062;<BR>var sInputBorderStyle = &#039;&#039;;<BR><BR>function removeBorder()<BR>{<BR> sInputBorderStyle =;<BR> = &#039;none&#039;;<BR>}<BR><BR>function putBorderBack()<BR>{<BR> = sInputBorderStyle;<BR>}<BR><BR>-Doug

Posting Permissions

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