[jQuery] Re: passing args to a delegate

2008-12-15 Thread Jan Limpens
Subject: [jQuery] Re: passing args to a delegate while this might keep the browser from crashing, I wonder what values these parameters will have, when the event finally occurs. The ones I have passed the very first time? I thought they would have been destroyed by then, as we left this scope

[jQuery] Re: passing args to a delegate

2008-12-13 Thread Jan Limpens
while this might keep the browser from crashing, I wonder what values these parameters will have, when the event finally occurs. The ones I have passed the very first time? I thought they would have been destroyed by then, as we left this scope long ago ... But I'll try it out :), thanks! On

[jQuery] Re: passing args to a delegate

2008-12-13 Thread Jeffrey Kretz
...@googlegroups.com] On Behalf Of Jan Limpens Sent: Saturday, December 13, 2008 2:28 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: passing args to a delegate while this might keep the browser from crashing, I wonder what values these parameters will have, when the event finally occurs

[jQuery] Re: passing args to a delegate

2008-12-12 Thread Mike Nichols
Try this: success: function() { registerImageForms(id,key,type); } On Dec 12, 5:13 pm, Jan Limpens jan.limp...@gmail.com wrote: Hello, I have the following code: var registerImageForms = function(id, key, type) {     var sizes = ['small', 'medium', 'large'];     $('#panel-images