Fern2
asked on
Javascript change value of textbox on click (select)
I have a textinput were I need to change value if clicked on or selected. Normal state is novalue and if selected the value changes to "H" and if the textbox id selected again it should go back to normal state "no value"
<input type="text" onfocus="this.value='H';" onblur="this.value='no value';">
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
whoops... sorry pravinasar
ASKER
Thanx a lot :-)