Page 1 of 1

How to change values without refreshing the page

Posted: Thu Jun 18, 2009 9:13 am
by BaltarPHP
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

Re: How to change values without refreshing the page

Posted: Thu Jun 18, 2009 9:19 am
by divito
Look into Ajax.

Re: How to change values without refreshing the page

Posted: Thu Jun 18, 2009 10:22 am
by Mark Baker
or javascript if you don't need to calculate anything on the server

Re: How to change values without refreshing the page

Posted: Mon Jun 22, 2009 3:44 am
by BaltarPHP
I do not know how to use javascript. Can u give me an example or good tutorial link?