API DOCS

DOCS & TUTORIALS » API DOCS » xajax_js » xajax_core_uncompressed.js » xajax.js » xajax.js.waitFor

Function: xajax.js.waitFor


xajax.js.waitFor = function(args) { }

Parameters:

args
The response command object containing the following

args.data (string)

args.prop (integer) second to wait before giving up.

args.context (object) which is accessable in the javascript being evaulatedvia the 'this' keyword.

Returns:

false - The condition evaulates to false and the sleep timehas not expired.true - The condition evaluates to true or the sleep time hasexpired.
 



XAJAX on SourceForge.net
Support this project Valid XHTML 1.0 Transitional