Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
jQuery plugin performs periodical updating functionality and can be used in all sorts of applications which need polling mechanisms.
JavaScript PHP
branch: master

README.txt

The only file you need to download and use in your project is

smartupdater.js

The rest stuff is demo, which you can see and play with at
http://www.eslinstructor.net/smartupdater3/

/**
* smartupdater - jQuery Plugin
*  
* Version - 4.0
* Copyright (c) 2010 - 2012 Vadim Kiryukhin
* vkiryukhin @ gmail.com
* 
* http://www.eslinstructor.net/smartupdater/
*
* Dual licensed under the MIT and GPL licenses:
*   http://www.opensource.org/licenses/mit-license.php
*   http://www.gnu.org/licenses/gpl.html
*
* USAGE:
*
*	$("#myObject").smartupdater({
*			url : "foo.php"
*			}, function (data) {
*				//process data here;
*			}
*		);
*		
*	Public functions:
*		$("#myObject").smartupdater("stop")
*		$("#myObject").smartupdater("restart");
*		$("#myObject").smartupdater("setTimeout",timeout);
*		$("#myObject").smartupdater("alterUrl"[,"foo.php"[,data]]); 
*		$("#myObject").smartupdater("alterCallback"[, foo]); 
*
*	Public Attributes:
*		var status  = $("#myObject").smartupdater("getState"); 
*		var timeout = $("#myObject").smartupdater("getTimeout");
*
**/
Something went wrong with that request. Please try again.