yes, that is what I did, more or less replaced the inner form tags with div tags and rewrote my JS with some DOM trickery to acheive the same result
thanks guys On Feb 12, 2:14 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > You cannot have a form in a form, you're probably doing a > page.replace_html 'form_id', :partial => 'form_partial' which is > causing this situation. You need to have an inner div with a unique ID > and a partial for the form contents that you will replace. Something > like: > > <form id="foo"> > <div id="foo_contents"> > <!-- form fields go here, this content should come from a partial --> > </div> > </form> > > Then in your RJS: > > page.replace_html 'foo_contents', :partial => 'partial_with_foo_contents' > > Boy, lots of Rails questions on the Javascript list today ;) > > -justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
