Input Placeholder Script


/ Published in: jQuery
Save to your folder(s)

Just a quick script to enable default text within a form element to be cleared or restored upon focus/blur of a particular element.

Should give you roughly the same functionality as the new HTML5 webforms "placeholder" attribute.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.