public function addHandler($sTarget, $sEvent, $sHandler)
    {
        return $this->addCommand(
            array(
                'cmd' => 'ah',
                'id' => trim((string)$sTarget, " \t"),
                'prop' => trim((string)$sEvent, " \t")
            ),
            trim((string)$sHandler, " \t\n")
        );
    }
public function addHandler($sTarget, $sEvent, $sHandler)
    {
        return $this->addCommand(
            array(
                'cmd' => 'ah',
                'id' => trim((string)$sTarget, " \t"),
                'prop' => trim((string)$sEvent, " \t")
            ),
            trim((string)$sHandler, " \t\n")
        );
    }
public function addHandler ( $ sTarget , $ sEvent , $ sHandler ) { return $ this -> addCommand ( array ( 'cmd' => 'ah' , 'id' => trim ( ( string ) $ sTarget , " \t" ) , 'prop' => trim ( ( string ) $ sEvent , " \t" ) ) , trim ( ( string ) $ sHandler , " \t\n" ) ) ; }
Add a command to install an event handler on the specified element

You can add more than one event handler to an element's event using this method.

@param string        $sTarget             The id of the element
@param string        $sEvent              The name of the event
@param string        $sHandler            The name of the javascript function to call when the event is fired

@return \Jaxon\Plugin\Response
Add a command to install an event handler on the specified element