Cant handle it (jQuery hanlder understanding needed)

Posted by chainwork on Stack Overflow See other posts from Stack Overflow or by chainwork
Published on 2010-05-17T17:15:27Z Indexed on 2010/05/17 17:20 UTC
Read the original article Hit count: 109

Filed under:

I'm embarrassed to even ask BUT could someone help me understand what a "handler" is. I am new to jQuery and the API constantly has references similar to the following:

toggle( handler(eventObject), handler(eventObject), [ handler(eventObject) ] )

I scratch my head and say to myself "what the hell is a handler". Then I check my 2 jquery books and don't really see anything specific there. I get what an event handler does, it handles an event. But the word handler in the above context confuses me including "eventObject". I tried to google it but could not really find a really clear definition of what exactly a handler is as it relates to jquery. Thanks for your help =]

© Stack Overflow or respective owner

Related posts about handler