File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Update cart asynchronously please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Update cart asynchronously please" Watch "Update cart asynchronously please" New topic

Update cart asynchronously please

joey toro

Joined: May 13, 2011
Posts: 2
Any help would be greatly appreciated, I've gotten this far but I want my cart to update the quantity and if checked to remove then remove it also without having to hit update. Ajax. Also any explanations added would be 10000% more helpful also Thank you.

Not sure which files you would need but here are the ones I think need shown for help:

with the updatecart

and the managecart

joey toro

Joined: May 13, 2011
Posts: 2
I'm pretty sure it would be somewhere in here right?

if(request.getParameter("remove" + i)!=null){
I agree. Here's the link:
subject: Update cart asynchronously please
It's not a secret anymore!