If you don't mind my asking, what exactly are you trying to do? You
shouldn't need all this hackery just to pass function references around.

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


Excellent, didn't think of that one

thx

Dave



bmsterling wrote:
>
> I had to do something similar today, and I did something like
>
> function myfunction(f){
>      $(element).click(function(){eval(f+"();");});
> }
> that was off the cuff, but that should work.
>

--
View this message in context:
http://www.nabble.com/passing-functions-tf2805241.html#a7827420
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/




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

Reply via email to