Tag Info

New answers tagged

0

Well, that's because you have your onfocus set to clear the value. So when the user clicks on the input to edit the information, (the input element is in focus) the value is set to '' May I ask what are you trying to achieve exactly? Update: The best way to get what you're trying to achieve is by using the placeholder attribute. This might be of some ...



Top 50 recent answers are included