Displaying 1 result from an estimated 1 matches for "replaca_html".
Did you mean:
repalce_html
2006 Dec 05
5
Render :update and script tags
Hi All!
I''m kind of new o ruby so please apologize my stupid questions on
advanced...
I''m using
render :update do |page|
page.replaca_html :element , :partial => ''apartial''
end
This is working well, since I see in the page the following code:
try
{
Element.update("element", "");
} catch (e)
{
alert(''RJS error:\n\n'' + e.toString());
alert(''Element.update("elem...