Saludos a todos. [code] Me gustaria convertir este codigo a uno que utilice ajax: <% form_tag students_path, :method => 'get' do %> <p> <%= text_field_tag :search, params[:search]%> <%= submit_tag "Search",:name =>nil%> </p> <% end%> [/code] Ya he tratado cambiar form_tag a form_remote_tag sin tener exito. "wrong number of arguments (2 for 1)" La verda es que no tengo claro el concepto de los parametros a pasar a este metodo. Trate la documentacion pero no la entiendo bien. Gracias por clualquier ayuda que puedan ofrecer. -Luis.
on 2010-06-10 17:08
on 2010-07-06 22:05
> > <% form_tag students_path, :method => 'get' do %> > -Luis. form_remote_tag :url => students_path, :html => {:method=> :get} do Rodrigo Dominguez rorra@rorra.com.ar www.rorra.com.ar
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.