API DOCS

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

Class: xajax.js



Contains the functions for javascript file and function
manipulation.

variables

functions

xajax.js.includeScriptOnce

xajax.js.includeScriptOnce = function(command) { }

Add a reference to the specified script file if one does not
already exist in the HEAD of the current document.

This will effecitvely cause the script file to be loaded in
the browser.


xajax.js.includeScript

xajax.js.includeScript = function(command) { }

Adds a SCRIPT tag referencing the specified file. This
effectively causes the script to be loaded in the browser.


xajax.js.removeScript

xajax.js.removeScript = function(command) { }

Locates a SCRIPT tag in the HEAD of the document which references
the specified file and removes it.


xajax.js.sleep

xajax.js.sleep = function(command) { }

Causes the processing of items in the queue to be delayed
for the specified amount of time. This is an asynchronous
operation, therefore, other operations will be given an
opportunity to execute during this delay.


xajax.js.confirmCommands

xajax.js.confirmCommands = function(command) { }

Prompt the user with the specified text, if the user responds by clicking
cancel, then skip the specified number of commands in the response command
queue. If the user clicks Ok, the command processing resumes normal
operation.


xajax.js.execute

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

Execute the specified string of javascript code, using the current
script context.


xajax.js.waitFor

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

Test for the specified condition, using the current script
context; if the result is false, sleep for 1/10th of a
second and try again.


xajax.js.call

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

Call a javascript function with a series of parameters using
the current script context.


xajax.js.setFunction

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

Constructs the specified function using the specified javascript
as the body of the function.


xajax.js.wrapFunction

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

Construct a javascript function which will call the original function with
the same name, potentially executing code before and after the call to the
original function.


xajax.js.makeWrapper

xajax.js.makeWrapper = function(origFun, args, codeBlocks, returnVariable, context) { }


Helper function used in the wrapping of an existing javascript function.


 



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