API DOCS
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.
