Salil Gaikwad wrote:
render :update do |page|
if error occurs # write a condition which checks error occurs or
page.show , "errors"
page.replace_html, "errors", "Write a String after error
page.hide , "errors"
# code u want to update if error not occurs.
Check development.log if u running application in development mode for
Thankx a lot. It is working with submit_to_remote itself after taking
:update attribute from views page.