Forum: Ruby on Rails Explorer 7/Ajax Issue

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jason N. (Guest)
on 2007-02-07 21:38
(Received via mailing list)
Apparently I've been lax on cross-browser testing. I have a form where
users can upload a video or select one that's already in their directory
for use. Here's the code:

<div id="uploads" style="margin: 0px 0px 20px 50px;">
    <%= file_field "file", "upload", :size => 100 %> or <br />
    <%= link_to_remote "Use a Previously Uploaded Video", :update =>
"uploads", :url => {:action => "video_list"} %>
</div>

The code works fine in Firefox, but I just had a user call me saying it
didn't do anything for him. I tried it myself in IE and watched my logs,
and it does make the request, but it never updates the div. Can anyone
point me in the right direction on this?

Thanks,
Jason
Jason N. (Guest)
on 2007-02-07 22:52
(Received via mailing list)
Ok, got it. I had a form element in the template that got inserted that
should have been removed from previous versions. This was apparently
causing explorer to choke as you can' t have a form inside a form....
kthxby
This topic is locked and can not be replied to.