给定以下jquery:
$.post(path, {one:'alex', two:'thomas'}, function (response) {
alert(response);
});
以及以下PHP:
<?php
$first = $_POST['one'];
echo $first;
?>
我如何让它返回响应?
如果我只发送一个变量,它工作正常:
$.post(path, 'one=alex', function (response) {
alert(response);
});
谢谢