Applying jQuery Event Handlers
The jQuery way to bind a function to an event is through the .bind() method, which accepts three arguments: the event type, data, and the function handler. For example, to bind a mouseover event: $(“#objId”).bind(‘mouseover’, function(event){ // code here… }); In this example, an element, objId is selected by id, and has a mouseover event [ [ ...]