通过本文主要向大家介绍了Ajax 给 XMLHttpReq.onreadystatechange传递参数等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
Ajax 给 XMLHttpReq.onreadystatechange传递参数
通过:
xmlhttp.onreadystatechange= function(){xx(123)};
or xmlhttp.onreadystatechange= new Function("xx(123)"); 就可以了。
</div> </div>
通过:
xmlhttp.onreadystatechange= function(){xx(123)};
or xmlhttp.onreadystatechange= new Function("xx(123)"); 就可以了。
</div> </div>