hi guys,
you know that very common feature of a form where when you click it, the text disappears for you to type?
well i figured that this does the job...
onclick="this.value=''"
in the input tag, but how to you get the test to revert back to how it was if you click off again?
a good example is here: http://www.vidahost.com/index.php if you click the email address bit of the client login at the right... can't see the bit in the code that snaps it back...
any ideas?
you know that very common feature of a form where when you click it, the text disappears for you to type?
well i figured that this does the job...
onclick="this.value=''"
in the input tag, but how to you get the test to revert back to how it was if you click off again?
a good example is here: http://www.vidahost.com/index.php if you click the email address bit of the client login at the right... can't see the bit in the code that snaps it back...
any ideas?