what is the use of javascript function handleUpdate()

Jun 29, 2011 at 11:25 AM

when we remove items from cart,there is a  javascript function handleUpdate()

i do not understand what is the use of this funtion.

Coordinator
Jul 9, 2011 at 8:53 PM

It's no longer needed - it was there from the MVC 2 version of the tutorial which used Microsoft Ajax; when converting to jQuery I moved the update into the jQuery code. I'll it in the next release.

Jul 9, 2011 at 9:48 PM

I would seriously consider using the Ajax helpers for this. Would decrease the complexity of the code a little bit, plus it's be be a good demo.