ok, so you intend for your dom to look like <form name="sth" action="somepage.php"> <input .... /> <form name="tempsth" action="someotherpage.php"> <input .... /> </form> <input ..../> </form>
do you see why that doesn't make sense? if not, what are you trying to accomplish with the temporary form? load more data via ajax? On Tue, Feb 12, 2008 at 4:42 PM, Andy Koch <[EMAIL PROTECTED]> wrote: > > yes, I'm intending this, the inner form is temporary - when the outer > form is submitted the inner form has been removed from the DOM > > that's the idea anyway > > On Feb 12, 1:38 pm, "Brian Williams" <[EMAIL PROTECTED]> wrote: > > ok... let me ask you this.. why are you loading a form inside a form? > > > > I was doing it because I wasn't thinking clearly.... you are trying to > do it > > on purpose... why? > > > > On Tue, Feb 12, 2008 at 4:33 PM, Andy Koch <[EMAIL PROTECTED]> > wrote: > > > > > yes, that is what I want to do > > > > > unfortunately Prototype is getting in the way... grrrr... > > > > > On Feb 12, 1:02 pm, "Brian Williams" <[EMAIL PROTECTED]> wrote: > > > > i think i saw this before when I was trying to load a new form via > ajax > > > into > > > > an element that was already inside a form. > > > > > > On Tue, Feb 12, 2008 at 3:50 PM, Andy Koch <[EMAIL PROTECTED]> > > > wrote: > > > > > > > I've got an RJS response return content with <form> tags, I can > see > > > > > the form tags in the response from the server. But the > > > > > Element.update() is removing them. > > > > > > > Is this a new "feature"? Any way to disable this behavoir? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
