While building up for the ajax implementation, everything works fine but I get this error. I am able to see the cart if I refresh the page. Is that some flash or any addon errors? ReferenceError: RenderHtml is not defined
Arun, can you paste the code you have in views/line_items/create.js.rjs ?
I think that the problem might be that you didn’t typed properly the line page.replace_html(‘cart’, render(@cart))
and you have page.render_html(‘cart’, render(@cart)) –» notice render instead of replace.