This value of count is to be transferred to the php page orderdetail.php This is the javascript code that i am using,Please provide the solution.
var count=10;
$.post('orderdetail.php',{no_of_orders:count},function(){});
The php code i am using is
<?php
$no_of_orders=$_POST['no_of_orders'];
echo $no_of_orders;
?>
counttono_of_orders,{no_of_orders: count}new1in your js? What the output of your php snippet?