Enkhbilguun Erdenetsogt wrote:
function getPriceJson(volume)
   {
       $.post(
       "/async/getprice",
       {
           "volume" :    volume
       },
             function(response)
       {
           $("#ai92").append("<a href='#'>"+response.diesel+"</a>");
           $("#ai80").append(response.ai80);
           $("#diesel").append(response.diesel);
       });
   }


You need to set the format in your jQuery post to json. See the jquery api docs for more info.
http://docs.jquery.com/Ajax/jQuery.post

drm / Gerard

Reply via email to