Hello,
I implemented this simple form_remote_tag, for testing in rails:

<% form_remote_tag :url => { :controller => 'login', :action
=> :'change_user' }, :update => 'specified_user' do -%>
  <div><%= text_field_tag 'user_id' %></div>
  <div><%= submit_tag 'change user' %></div>
<% end -%>

which produces this javascript:

<form action="/login/change_user" method="post" onsubmit="new
Ajax.Updater('specified_user', '/login/change_user',
{asynchronous:true, evalScripts:true,
parameters:Form.serialize(this)}); return false;">
  <div><input id="user_id" name="user_id" type="text" /></div>
  <div><input name="commit" type="submit" value="change user" /></div>
</form>

apparently IE 5.5 does correctly handle Form.serialize(this) so
nothing is send.

any ideas if I do something wrong or should I just not support IE 5.5.
users from now on - which is probably not the worst idea...
thanks Björn
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to