question in AJAX

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
itayauerbach
Forum Newbie
Posts: 2
Joined: Thu Apr 22, 2010 8:43 am

question in AJAX

Post by itayauerbach »

I've got a shopping cart page,

and I want to add inside the cart form (in which you can remove items, edit quantitiy or check out) a field where one can enter a state and zip code and by that a shipping cost line is added in a table that prints the total price, near the end of the form.

I understood that you cannot do form inside a form, and perhaps needs to do it in ajax... can somebody guide me how to do it?

thanks,
-Itay
itayauerbach
Forum Newbie
Posts: 2
Joined: Thu Apr 22, 2010 8:43 am

Re: question in AJAX

Post by itayauerbach »

here is the page:

http://www.vitawealth.com/cart/cart.php ... 57&site=vw


it currently features that shipping calculator beneath the form.
i want to insert it above the outcome price report, inside the form.
but it doesn't work, because that will be form inside form. this is why i thought about ajax, thou I have no idea how to manifest it.
Post Reply