摘要:
表单转ajax,阻止提交表单,ajax文件上传 阅读全文
posted @ 2018-11-13 10:29
L2526
阅读(105)
评论(0)
推荐(0)
|
摘要:
var ajax = new XMLHttpRequest(); ajax.open("get",'apply.php'); ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); ajax.send(null); ajax.onreadystatechange = function() { if ... 阅读全文
posted @ 2018-11-13 10:20
L2526
阅读(88)
评论(0)
推荐(0)
摘要:
1 $.post('/userListInfo', function (msg) { 2 var obj = eval("("+msg+")")//转换为对象 3 //console.log(obj);//打印 4 $.each(obj, function (n, value) { 5 alert(n + ' ' ... 阅读全文
posted @ 2018-11-13 10:05
L2526
阅读(143)
评论(0)
推荐(0)
|