On 5 May 2011 16:20, Jeffrey L. Taylor <r...@abluz.dyndns.org> wrote: > I have several links on my Website that make Ajax calls and replace an div > with the response. If I click several of these links quickly, it looks like > the responses may replace the wrong div. Response times of the server can > vary wildly, so responses may arrive out of order. Is there a solution other > than always responding with Javascript that replaces the correct div?
Don't forget the first "a" of AJAX is for "asynchronous". How does each call identify which div it's supposed to update? Could you be gettings DOM IDs duplicated/confused in your calls? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.