Page 1 of 1

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

Posted: Sun Aug 31, 2014 3:14 pm
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.

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

Posted: Tue Sep 02, 2014 1:53 pm
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);