[jQuery] Re: Multiple AJAX calls problem

2008-09-02 Thread me-and-jQuery
Hey Brad. I went through these blog posts - articles - months ago, when I was looking for a problem of inactive elements returned by ajax call (and also found these three plugins, which I don't like so much). So if a solution is on that level and not on any special certain jquery integrated metho

[jQuery] Re: Multiple AJAX calls problem

2008-09-01 Thread Brad
Basically, that article, and its "Part 1" which is linked at its beginning, talk about the various ways to work around the behavior you are seeing. See http://docs.jquery.com/Frequently_Asked_Questions#Re-binding Yes that solution is mentioned. Even though micah's suggesting his is "quick and dir

[jQuery] Re: Multiple AJAX calls problem

2008-09-01 Thread tony luo
If there is a ajax call, I will use "Loading..." modal dialog to cover the parent till the call finished. Maybe it will help you. On Tue, Sep 2, 2008 at 6:37 AM, me-and-jQuery <[EMAIL PROTECTED]>wrote: > > Hi Brad. Here I can see the same hint as micah was talking about > (unbind and then bind).

[jQuery] Re: Multiple AJAX calls problem

2008-09-01 Thread me-and-jQuery
Hi Brad. Here I can see the same hint as micah was talking about (unbind and then bind). Or do you have any other solution in mind? Thanks. On Aug 31, 2:51 am, Brad <[EMAIL PROTECTED]> wrote: > Have a look at the article > athttp://www.learningjquery.com/2008/05/working-with-events-part-2.

[jQuery] Re: Multiple AJAX calls problem

2008-08-30 Thread Brad
Have a look at the article at http://www.learningjquery.com/2008/05/working-with-events-part-2.

[jQuery] Re: Multiple AJAX calls problem

2008-08-30 Thread me-and-jQuery
micah, thanks for you contribution, but I smell much better solution here. Thanks for any quick hint. On Aug 29, 11:38 pm, micah <[EMAIL PROTECTED]> wrote: > a common trick i use to get around situations where an event may be > bound twice is to add an unbind into the chain. like so: > > var kd

[jQuery] Re: Multiple AJAX calls problem

2008-08-29 Thread micah
a common trick i use to get around situations where an event may be bound twice is to add an unbind into the chain. like so: var kd = function(event) { alert(event.keyCode); } $().unbind('keydown', kd).keydown(kd); it's a bit quick and dirty, but it works. -micah On Aug 29, 9:12 am, me-a