API DOCS

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

Function: addEvent


function addEvent($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.

Note:

This function is depreciated and will be removed in a future version.Use setEvent instead.

 



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