You mentioned not being able to pass the event object into your click
function, but I don't see the code where you tried to do that, so I don't
know what went wrong.
In any case, the function-returning-a-function is much more complicated than
you need. Risteli's code is on the right track, but it
Example page: http://jqueryfun.nathanielklee.com/eventFirefox.html
Following one example provided in an official jQuery tutorial (located
at http://docs.jquery.com/Tutorials:How_jQuery_Works), I can pass
"event" into a function I define directly in the click assignment
handler.
e.g. $("#something
2 matches
Mail list logo