$.ajax({
type:'post',
url:"/www/index.php?r=home/CkUser",//地址写什么才是对的
data:{"name":val},
success:function(msg){
alert("正确");
$("#nameinfo").html(msg);
},
$.ajax({
type:'post',
url:"/www/index.php?r=home/CkUser",//地址写什么才是对的
data:{"name":val},
success:function(msg){
alert("正确");
$("#nameinfo").html(msg);
},