API DOCS

DOCS & TUTORIALS » API DOCS » xajax_core » xajaxControl.inc.php » xajaxControl » setEvent

Function: setEvent


function setEvent($sEvent, &$objRequest, $aParameters=array()

Parameters:

sEvent
(string) A string containing the name of the event to be assigned.

objRequest
(xajaxRequest object) The xajaxRequest object to be associated with the specified event.

aParameters
(array, optional) An array containing parameter declarations that will be passed to this xajaxRequest object just before the javascriptis generated.

sBeforeRequest
(string, optional) a string containing a snippet of javascript code to execute prior to calling the xajaxRequest function

sAfterRequest
(string, optional) a string containing a snippet of javascript code to execute after calling the xajaxRequest function


 



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