public function setEvent($sTarget, $sEvent, $sScript)
    {
        return $this->addCommand(
            array(
                'cmd' => 'ev',
                'id' => trim((string)$sTarget, " \t"),
                'prop' => trim((string)$sEvent, " \t")
            ),
            trim((string)$sScript, " \t\n")
        );
    }
public function setEvent($sTarget, $sEvent, $sScript)
    {
        return $this->addCommand(
            array(
                'cmd' => 'ev',
                'id' => trim((string)$sTarget, " \t"),
                'prop' => trim((string)$sEvent, " \t")
            ),
            trim((string)$sScript, " \t\n")
        );
    }
public function setEvent ( $ sTarget , $ sEvent , $ sScript ) { return $ this -> addCommand ( array ( 'cmd' => 'ev' , 'id' => trim ( ( string ) $ sTarget , " \t" ) , 'prop' => trim ( ( string ) $ sEvent , " \t" ) ) , trim ( ( string ) $ sScript , " \t\n" ) ) ; }
Add a command to set an event handler on the browser

@param string        $sTarget            The id of the element that contains the event
@param string        $sEvent                The name of the event
@param string        $sScript            The javascript to execute when the event is fired

@return \Jaxon\Plugin\Response
Add a command to set an event handler on the browser