javascript - Maintain Placeholder when Tabbing through Input Fields | jQuery -


i using jquery watermark input plugin: http://digitalbush.com/projects/watermark-input-plugin/

i keep placeholder text visible when tab through fields. , disappear when click field.

is possible?

in js file watermark plugin, see @ end group of functions , then

input.focus(clearmessage); input.blur(insertmessage);                                 input.change(insertmessage); 

if change focus click, should work want.

input.click(clearmessage); input.blur(insertmessage);                                 input.change(insertmessage); 

here example: http://jsfiddle.net/jtuzv/


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -