small medium large xlarge

03 Nov 2010, 01:58
Arun Srini (4 posts)

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

03 Feb 2011, 22:29
Augusto Rodriguez (9 posts)

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.

You must be logged in to comment