[jQuery] Re: ready() to bind post-ajax events

2009-07-05 Thread Adam
On Jul 4, 12:55 pm, Josh Nathanson joshnathan...@gmail.com wrote: Would there be a racing issue with html() though?  I believe that is not an asynchronous method, so it would have to complete before the next chained method. -- Josh - Original Message - From: hedgomatic

[jQuery] Re: ready() to bind post-ajax events

2009-07-04 Thread Josh Nathanson
Would there be a racing issue with html() though? I believe that is not an asynchronous method, so it would have to complete before the next chained method. -- Josh - Original Message - From: hedgomatic hedgoma...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent:

[jQuery] Re: ready() to bind post-ajax events

2009-07-04 Thread Michael Geary
I didn't know you could do that, but it would be simpler to just call your bindNewEvent function directly: $.ajax({ type: 'POST', url: 'myPage.html', success: function(c){ $(.response).html(c); bindNewEvent(.response a); } });