How do I use jquery/ajax/javascript to reflect changes

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
adsegzy
Forum Contributor
Posts: 184
Joined: Tue Jul 28, 2009 9:26 am

How do I use jquery/ajax/javascript to reflect changes

Post by adsegzy »

Hello Friends,

Pls I need your help. I am designing a website that has to do with customizing items and ordering for the items. Am example of this is
http://www.moonpig.com/uk/Product/Customise/1/LL896

I know this has to do which jquery, ajax & javasctipt. I am a php developer. Pls which scripts do I need for these functions.

Thanks a lot.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: How do I use jquery/ajax/javascript to reflect changes

Post by Christopher »

Ajax calls just call a PHP script that echos data back as its response. Typically this is JSON data. The Javascript then parses the response into data. The simplest way in PHP is to created the data you want and then do: echo json_encode($data);
(#10850)
Post Reply