functions.phpTest script that uses xajaxResponse->setFunction, xajaxResponse->wrapFunction, xajaxResponse->script and xajaxResponse->call to build, modify, remove and call javascript functions on the browser. |
Response command used to construct a javascript function on the browser.
function setFunction( $sFunction, $sArgs, $sScript )
Response command used to construct a wrapper function around and existing javascript function on the browser.
function wrapFunction( $sFunction, $sArgs, $aScripts, $sReturnValueVariable )
Response command that is used to execute a portion of javascript on the browser.
function script( $sJS )
Response command that indicates that the specified javascript function should be called with the given (optional) parameters.
function call()