http://blog.csdn.net/wang8559422/article/details/42394839
data:'id='+data+'&val='+val 加&符
https://www.cnblogs.com/xlj227/p/6006799.html
ajax
data:{id:id,name:name} 正确
data:{id:"001",name:"王俊凯"} 正确
data:{"id":id,"name":name}
post
$.post("Controller.do?finddosimetry", {
"id": id, "name":name
}, function (r) {
});
<script>
function perSubmit() {
var d=$("form").serialize();
$.post("abc.jsp", d, function (result) { alert(result); }, "text");
}
</script>
ajax
$.ajax({
type: "POST",
dataType: 'json',
async:false,
data:{id:id,name:name},
url: "${ctx}/lqxx/tProblemClueInfo/findlei",
success: function(msg){
}
});