That was actually my first try and it didn't result...I changed the
form tag for "form_remote_tag" and got the folloowing form tag
generated:

<form action="/concepts/sendContactMail/0?
property_id=18&amp;type_id=3" method="post" onsubmit="new
Ajax.Request('/concepts/sendContactMail/0?
property_id=18&amp;type_id=3', {asynchronous:true, evalScripts:true,
parameters:Form.serialize(this)}); return false;">

But the page is still reloaded.

On 11 ene, 14:34, Me <[email protected]> wrote:
> Get it out of the hash, it is a stand alone value.
>
> <% form_for :support, @support, :url => { :controller =>
> "concepts", :action => "sendContactMail", :id => 0, :type_id =>
> @contactType.id, :property_id => @property.id },  :remote =>
> true do |fContact| %>

-- 
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.

Reply via email to