On May 3, 6:41 am, Me <[email protected]> wrote:
> Is there a way to do an ajax submit but only send the values in an
> embedded form inside a form?
>
nested forms are not allowed by the html standard. When making an ajax
request you can however submit an arbitrary element to submit.
Fred
> I have to do an ajax submit with multiple companies and I get this
> being submitted for the post:
>
> companyid 1
> companyid 2
> companyid 3
>
> If I have multiple submits possible but I need to be able to get the
> appropriate company id that is submitted.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---