I have seen a webpage where user adds items to cart and the number of items on the cart (in another php file) changes simultainously without the need to refresh the page.
Another example is that when user adds item to cart - a button saying like "start paying" appears immeadetly under the cart without page refresh.
How to do that?
I must say im a beginner at this
How to change values without refreshing the page
Moderator: General Moderators
Re: How to change values without refreshing the page
Look into Ajax.
-
Mark Baker
- Forum Regular
- Posts: 710
- Joined: Thu Oct 30, 2008 6:24 pm
Re: How to change values without refreshing the page
or javascript if you don't need to calculate anything on the server
Re: How to change values without refreshing the page
I do not know how to use javascript. Can u give me an example or good tutorial link?