I have an event handler for the click event. The event handler is a named function instead of an anonymous function. How can I pass the event object to this named function?
// usual example
$(".sel").click(function(ev) {
// do stuff which involves the event
});
// my case
$(".sel").click(myHandler);
function myHandler() {
// hopefully do stuff which involves the event
}