[Ror-es] link_to_remote with partial

Kiran Polawar ruby-forum-incoming at andreas-s.net
Tue Feb 5 13:09:35 GMT 2008


Kiran Polawar wrote:
> javier ramirez wrote:
>> Hola,
>>>
>>>              <%= link_to_remote("Update_div",  :update => 'idToReplace',
>>>    :url => { :partial => 'login_user'}) %> <div id="idToReplace">this is the div</div>
>>>   
>> Desde un link s�lo tienes dos opciones, o invocas a una funci�n de
>> javascript cliente, o haces una llamada http (por AJAX o no). En el caso
> 


Actually for implementation of this thing i have used a javascript 
function and made and ajax request to call and action from controller 
which renders appropriate partial;  but i want to do it with 
link_to_function or link_to_remote how to do that plz answer in english 
i will thankful to you :) hv a nice time


regards,
kiran
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ror-es mailing list