jQuery Observe: Observe element changes and invoke callbacks

Recommend this page to a friend!
  Info   View files Documentation   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 62 All time: 485 This week: 4Up
Version License JavaScript version Categories
jquery-observe 1.0MIT/X Consortium ...5HTML, jQuery, Events
Description Author

This is a jQuery plugin that can observe element changes and invoke callbacks.

It can observe changes in given page elements and register callback functions that are called when changes are noticed.

The plugin observes changes regularly in periods of 0.1 ms but the rechecking period can be redefined.

Picture of Emil Kilhage
  Performance   Level  
Name: Emil Kilhage <contact>
Classes: 5 packages by
Country: Sweden Sweden
Age: ???
All time rank: 1112 in Sweden Sweden
Week rank: 6 Up1 in Sweden Sweden Up
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

Details

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

  Files folder image Files  
File Role Description
Files folder imagetest (3 files, 1 directory)
Plain text file jquery.observe.js Class Class source
Plain text file jquery.observe.min.js Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  test  
File Role Description
Files folder imagequnit (2 files)
  Plain text file jquery.js Class Class source
  Accessible without login Plain text file test.js Aux. Auxiliary script
  Accessible without login Plain text file test.php Data Auxiliary data

  Files folder image Files  /  test  /  qunit  
File Role Description
  Accessible without login Plain text file qunit.css Data Auxiliary data
  Plain text file qunit.js Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:62
This week:0
All time:485
This week:4Up