时间:2021-07-01 10:21:17 帮助过:21人阅读
a.html
no
1
b.js
ajax传值给b.php
var aa = $('#aa').html();
.ajax({
url:"a.php",
type:"POST",
data{test:test},
success:function(data){ $('#test').html(data)} //ajax中success返回并改变test的值
error:function(){}
});
c.php
接收到,并返回
if(isset($_POST['aa']))
{
echo "