After struggling for hours and googling more, finally i succeeded in commincating over Json object. I will share the code:
JS side:
var datastring=JSON.stringify(obj);
$.post('getmessage.php',{data:datastring},function(res){
alert("HIIII"+res);
},"text");
});
php side:
$data=json_decode(stripslashes($_REQUEST['data']),true);
echo $data['page'];
?>
Subscribe to:
Post Comments (Atom)
From Stubborn to Smart: How I Learned to Use AI as a PM
Listen to the article in podcast format on PM-AI Diaries channel on Spotify! Ever since I published "The Death of the Stubborn PM...

-
Amazon India today has become the most visited e-commerce site in India. So, I decided to analyze the most expensive products that Amazon I...
-
The key given below is the universal serial key for Windows Xp.. It can by pass any windows xp cd and make your copy genuine. Do try it!!! ...
-
Sometimes while working on Linux, mysql.sock may get deleted by mistake due to some softwares.. in such cases any access to mysql wont be po...
No comments:
Post a Comment