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.
How do I use jquery/ajax/javascript to reflect changes
Moderator: General Moderators
- 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
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)