我在href click上有下面的代码,我正在调用一个javascript代码,在这个代码中调用了一个ajax,它以json格式返回数组$ss的值。现在我想知道如何通过ajax更新$ss的值。url: 'ajax.php', //This is the current doc data: ({a: iddocument.write(res);
:categoria1},function(){
}) 我的php代码 <?php
header('location: '.$_POST['categoria1'].'.php');/*This work in console GET http://localhost:8080/jecommerce/views/Computacion.php<e
下面是我的ajax代码的一小部分,此时我的变量'resp‘正从test.php返回一个完整的响应。有没有什么方法可以只返回指定标签之间的responseText?即。只需获取test.php的id="xyz“的div中的html的responseText?ajax.onreadystatechange=function() {
if (a