Hi,
Estoy pasando una aplicación que trabaja con Google maps y Rails 2. Con
Google maps recojo las coordenadas X y Y en dos campos de texto y los
paso
mediante el método :with al controlador para hacer algunas operaciones.
El código es:
I have an application with RoR and Google maps and i catch X and Y coord
to send to a controller. I use :with parameter:
<%= link_to_remote "Obtener datos catastrales", :update =>
:catastro,:url =>
{:controller => "instalacions", :action =>
"catastro_ajax" }, :before =>
"Element.show(''spinner'')", :complete =>
"Element.hide(''spinner'')", :with
=>
"''coordx=''+$(''instalacion_longitud'').value+''&coordy=''+$(''instalacion_latitud'').value"
%>
How can i migrate this instruction to Rails 3? I only need know how to
capture the input text values to send to the controller.
Thanks!!
Un saludo y gracias.
--
Posted via http://www.ruby-forum.com/.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.