Jump to content

Input Value: Disappear And Reappear Upon Click


mboehler3

Recommended Posts

Hi, my page here: https://www.surpayroll.com/surechoice/accountant_access.asp?. For the Log In part at the top, I have a script in there that makes the input value disappear upon being clicked on. I want to make it so that the value will reappear if you do not enter any text. I've seen this done on sites before but couldnt find one as an example. But how the page is currently, once you click in the input box, the value will disappear completely. Is there a script that will return the value if the user does not enter any text?

Link to comment
Share on other sites

Hi, my page here: https://www.surpayroll.com/surechoice/accountant_access.asp?. For the Log In part at the top, I have a script in there that makes the input value disappear upon being clicked on. I want to make it so that the value will reappear if you do not enter any text. I've seen this done on sites before but couldnt find one as an example. But how the page is currently, once you click in the input box, the value will disappear completely. Is there a script that will return the value if the user does not enter any text?
Nm, found a script here:http://perishablepress.com/press/2008/07/2...e-inputs-focus/
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...