see live example and docs at: http://www.eslinstructor.net/smartupdater3/
New Features for ver 3.1:
- smart Stop: depend on element's size, current layout and visibility client automatically stops and restarts polling
- self clean-up: automatically clears all related timeouts/intervals on element remove/empty event.
New Features for ver 3.0:
- Switch polling URL dynamically
- Switch callback function dynamically
- Remotely select callback function
- HTTP cache (304 Not Modified)
- Feedback to server
Improved Feature:
- Remotely set polling timeout.
Deprecated Feature:
- multiplies time interval each time when data not changed.