Skip to content

dawid-sklodowski/formWatermarks.jquery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

formWatermarks.jquery

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.

Requirements:

jQuery >= 1.4

Usage:

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.

About

jQuery plugin that puts labels inside form’s input fields.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%