jQuery Empty On Click Plugin
This blog post is about the release of this plugin and how to use it.
Features
- Empty field with default value on click/focus
- Put default value back after blur when the field is still empty
- Empty field with default value on submit, so it is really empty
- Reset field, so put the default value back, on form reset
Changelog
Version 1.2 (17 Jun 2008)
Empty the fields onsubmit when they are not changed
Version 1.1 (11 Jun 2008)
Fixed a bug when working with an empty field (no default value)
Version 1.0 (06 Jun 2008)
Original version
Use it
Download the latest version here: jquery.emptyonclick.js.
Demo time!
Who's using it
- Jonnotie (in the contact form)
- Hello My Name Is E (in the login form)
- Weble (in the client login form)
Copyright © 2008 madewithlove