Skip to content

pico4743/jquery.observe_field

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a JQuery plugin that implements a way to observe form fields on a given frequency, instead of having to rely on blur (too cumberstone for the user) or keyup (too many server requests).

The frequency has to be specified in seconds.

Each onkeyup event resets the counter, so a frequency of more than 2 seconds will result on a not very responsive interface.

Make sure that JQuery is included before this plugin. Then include this file too.

Assuming that you copied it on /javascripts/:

<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fjavascripts%2Fjquery.observe_field.js" type="text/javascript"></script>

See example.html

jquery.observe_field is licensed under the MIT license:

About

Similar to rail's observe_field, but adapted for jquery (uses a frequency instead of events)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors