I tried all the above solutions but none seem to work. This is in a
modal popup, so its almost as if the javascript is not finding the
form element or something. Im using ruby on rails, so I defined the
id's of the form and the submit button inline if that helps at all:
<% form_remote_for :new_user, :url => {:controller =>
'account', :action => 'authenticate'},
:html => {:id => 'login_form'} do |f| -%>
<%= image_submit_tag "buttons/login.png", :id => 'form_submit'
%>
<% end %>