Class Index | File Index

Classes


Class Updater

This class is used for 'Live Refresh!'.
Defined in: jtemplates.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Updater(url, param, interval, args, objs, options)
Create new Updater.
Method Summary
Method Attributes Method Name and Description
 
run()
Create new HTTP request to server, get data (as JSON) and send it to templates.
Class Detail
Updater(url, param, interval, args, objs, options)
Create new Updater.
Parameters:
{string} url
A destination URL
{object} param
Parameters (for template)
{number} interval
Time refresh interval
{object} args
Additional URL parameters (in URL alter ?) as assoc array.
{array} objs
An array of HTMLElement which will be modified by Updater.
{object} options
options and callbacks
Method Detail
run()
Create new HTTP request to server, get data (as JSON) and send it to templates. Also check does HTMLElements still exists in Document.

Documentation generated by JsDoc Toolkit 2.1.0 on Sun Aug 05 2012 14:49:18 GMT+0200 (CEST)