javascript - Jquery plugin for this effect? and what is the effect called? -
i've implemented effect myself several times in raw jquery code, want have plugin. problem don't know it's called search plugin. basically, input field has label in pale gray inside field itself. when user clicks, gray label disappears. if user exited field without typing anything, gray label returns. otherwise, whatever user types stays there. it's simple, have name, , there plugin like
$('#blabla').effectname('label');
sorry if stupid question i'm blanking out on one.
it sounds you're describing 'placeholder'. built html 5, , supported in (as of writing) webkit (chrome + safari), firefox 3.7 , above, , ie 9 beta (i think).
just doing bit of searching around found jquery plugin - jquery placeholder.
Comments
Post a Comment