Hello everyone!

By writing this:
$.ajax({
   type: "POST",
   url: "some.php",
   data: "name=John&location=Boston",
   success: function(msg){
     alert( "Data Saved: " + msg );
   }
 });

we pass variables 'name' and 'location' to the file 'some.php'. How
can we pass a PHP object????


Thank you in advance!

Reply via email to