jQuery Empty Email Box on Click

By Sam Deering

Simple jQuery code snippet to empty email box on click. Useful for showing that the input field is meant for emails without taking up too much space. All user’s want to type without deleting the email text! :)

See top of jQuery4u Blog homepage for demo!

No Reader comments



Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in JavaScript, once a week, for free.