Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2016-12-27 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 51 This week: 2All time: 472 This week: 11Up
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.

  Performance   Level  
Name: Emil Kilhage <contact>
Classes: 4 packages by
Country: Sweden Sweden
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

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:51
This week:2
All time:472
This week:11Up