File: README.md

Recommend this page to a friend!
  Classes of Emil Kilhage   jQuery Observe   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: jQuery Observe
Observe element changes and invoke callbacks
Author: By
Last change: Update of README.md
Date: 3 years ago
Size: 811 bytes
 

Contents

Class file image Download

jQuery-observe

About

  • MIT Licensed
  • Last Updated: 2011-08-24
  • Version 0.9
  • Author Emil Kilhage

Basicly does the same thing as prototypes TimedObserver: http://www.prototypejs.org/api/timedObserver

Usage:


jQuery("#id").observe(function (element) {
    // Your callback code, gets called when the field's value changes
});


/
 * The default interval that the observer checks if the value has been changed is 0.1 ms.
 * If you wan't to change that you can pass that interval as the first:
 */

jQuery("#id").observe(1, function (element) {
    // your callback
});


www.glooby.com www.glooby.se