Maybe I'm misunderstanding your answer, but I don't think it's what I was talking about. The event firing part works fine. The method (doit) is called. But the AJAX call throws an exception. The call is made to server. The server receives the request. But at some point after the server receives the request, something breaks up (only in this case, not with a classic click or when the apply is called from somewhere else), and the firefox browser throws an exception.
I've tried it with low-level javascript calls, and it doesn't seem to be prototype-related but browser-related (since I can repeat behavior at will with different ajax framework). All I was able to figure out for now is: 1-call to function doit works 2-ajax request sent to server 3-server receives request 4-server never sends reply, browser throws an error before that can happen Still just trying to understand what is happening. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
