/ Published in: JavaScript
In regards to progressive enhancement, see also the jQuery version.
Expand |
Embed | Plain Text
onfocus="if(this.value == this.defaultValue){ this.value='' };" onblur="if(this.value == ''){ this.value=this.defaultValue };"
Comments
Subscribe to comments
You need to login to post a comment.

Thanks works great :)