Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Similar to rail's observe_field, but adapted for jquery (uses a frequency instead of events)
JavaScript
branch: master

Merge pull request #6 from gamecreature/master

Added checkbox check-state detection support
latest commit f509afa822
Francisco de Juan authored
Failed to load latest commit information.
LICENSE.txt
README.rdoc Add MIT License
example.html fixed bug by moving frequency translation upwards. Thanks, Raynos! (h…
jquery.observe_field.js Added checkbox check-state detection support

README.rdoc

jquery.observe_field

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.

Installation

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

Assuming that you copied it on /javascripts/:

<script src="/javascripts/jquery.observe_field.js" type="text/javascript"></script>

Example

See example.html

License

jquery.observe_field is licensed under the MIT license:

Something went wrong with that request. Please try again.