Revision: 44476
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 12, 2011 19:58 by dyteq
Initial Code
<input name="email_address" value="Email address" onfocus="if($(this).val() == 'Email address') { $(this).val('')}" type="text">
Initial URL
http://www.dyteq.com/2ndquest/?p=171
Initial Description
No need to create a seperate function for this one. Just one line to clear the default value on click and leave the value when it has been altered.
Initial Title
Clear default textfield value on click
Initial Tags
form, javascript
Initial Language
jQuery