Plugin that puts labels inside form’s input fields. Works with IE (7,8,9), FF, Chrome, Opera, Safari (including mobile - iPhone & iPad) and others.
Supported input types:
text, password, tel, email.
jQuery >= 1.4
Assuming we have given HTML:
<label for="field_id">Label</label> <input type="text" id="field_id" name="something">
(Label’s for attribute must match field’s id.)
We can put label inside field with:
jQuery('input').formWatermarks();
Copyright © 2011 Lean Logics. See LICENSE for details.