hi all,
im calling a method in my controller from my view
(category.rhtml) using form_remote_tag.the method was called properly
but the view its rendering was not replaced properly in the parent view
(category.rhtml).
in my parent view (category.rhtml) im having a div
with id called “block” where i want the rendered partial to be
replaced.when i tried to execute im getting the output as
try {
Element.update(“block”, "\n\n calling controller
method
} catch (e) { alert(‘RJS error:\n\n’ + e.toString());
alert('Element.update(“block”, "\n\n calling
controller
method \n\n\n\n\n this is to
check\n\n\n\n");’); throw e }
people know it please help me.