Skip to content

Archer8685/jquery-hint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hint v0.2.1

##Demos & Examples Demos

News

  • 13/06/2014:remove initStyle, hintStyle options and add hintClass option.
  • 21/04/2014:release.

How to Use It

###javascript

$("input, textarea").hint();

###html just add shuttle_select in class and set multiple to your select.

<input type="text"  name="input" value="" hint="typing your name." />
<textarea rows="8" cols="40" name="textarea" hint="typing your suggest.\n\nThis is text.."></textarea>

API

Options

  • hintClass
    hint text class.

Events

  • onFocus
    element focus event.
  • onBlur
    element blur event.

About

author:Archer Hsieh
e-mail: kevin8685@gmail.com

About

input hint jquery plguin(Support break line for input, textarea)

Resources

License

Stars

Watchers

Forks

Packages

No packages published