On 12/11/06, dmoshal <[EMAIL PROTECTED]> wrote:

given: function foo(){}

I want to assign it to the element's onclick handler:

$(elem).click (foo)

which doesn't seem to work?


Well, that *should* work. Are you sure that there aren't any scope issues at
play here? What kind of error messages (if any) are you getting?

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to