API DOCS

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

Function: setEvent


function setEvent($sTarget,$sEvent,$sScript)

Parameters:

sTarget
(string) The id of the element that contains the event.

sEvent
(string) The name of the event.

sScript
(string) The javascript to execute when the event is fired.

Returns:

object
The object.


 



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