[jQuery] Queue event after getJSON request

2009-09-20 Thread cerberos
I'm trying to queue to start once a getJSON request has finished but it's not working, I'm getting '...queue is not a function'. I've tried $.getJSON("http://";, function (data){ $.each(data, function(i,item){ ... }); }).queue(function(){ $("#div").fadeIn(); }); and $.getJ

[jQuery] Re: can't create objects inside getJSON

2009-09-21 Thread cerberos
Thanks, it works. Is there a reason why the object notation I used doesn't work?

[jQuery] fadeOut callback problem - is this a bug?

2009-09-23 Thread cerberos
The contents of a fadeOut callback are supposed to be executed after the fadeOut has completed but there are problems when fading out multiple selectors (the alert is used to demonstrate). $("#foo, #bar").fadeOut( function(){ alert('test'); $("#baz").fadeIn (); }) >>> #baz is faded in before the

[jQuery] Re: fadeOut callback problem - is this a bug?

2009-09-23 Thread cerberos
On Sep 24, 12:47 pm, cerberos wrote: > The contents of a fadeOut callback are supposed to be executed after > the fadeOut has completed but there are problems when fading out > multiple selectors (the alert is used to demonstrate). > > $("#foo, #bar").fadeOut( function(

[jQuery] Modal dialog validation problem

2009-10-13 Thread cerberos
I have a form in a modal dialog which I submit with $.post(). Validation is set so that the name field has a min length of 2. * enter 'a' in name and submit * validation works, form not submitted, error displayed * submit again (still with 'a' for name) * validation fails, form gets submitted and