/ Published in: JavaScript
The simplest approach I know.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<input type="text" name="email" class="fmail" value="Email*" onblur="if(value=='') value = 'Email*'" onfocus="if(value=='Email*') value = ''" />