I am trying to debug a problem with an Ajax form submit, using Prototype 1.5.1.1. On Safari 2 and Firefox 2 (Mac) everything works. On the iPhone, the form submit is trapped but the Ajax submit does not appear to run. I am imagining that this might be a timing issue. The form listener is added with an inline script, within the body of a div that is being populated by Ajax Updater. Is it possible that the script evaluation is failing part-way through? Here''s the inline script. $(''new_thread'').observe(''submit'',function(evt){ new Ajax.Updater(''reply_form'',''form.php'',{parameters: $ (''new_thread'').serialize(true),evalScripts:true}); Event.stop(evt); }); The only part that seems to work on all browsers is the Event.stop. That is to say, the form does nothing at all in the iPhone browser. When I comment out that Event.stop, the form submits to its actual target in iPhone and on the desktop. Are there any ideas about why the form submit part might work on the desktop but not on the phone? Walter --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---