$.ajax({ type: 'POST', url: 'old.php', dataType: 'json', data:"param="+JSON.stringify(ob), success: function(result) { alert( result ); } });