[jQuery] Re: passing args to a delegate

2008-12-15 Thread Jan Limpens
n@googlegroups.com [mailto:jquery...@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

[jQuery] Re: passing args to a delegate

2008-12-13 Thread Jeffrey Kretz
: jquery-en@googlegroups.com [mailto:jquery...@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

[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 Sat,

[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" wrote: > Hello, > > I have the following code: > > var registerImageForms = function(id, key, type) { >     var sizes = ['small', 'medium', 'large']; >     $('#panel-images fieldset:visible').re