<script src="js/jquery-1.7.2.min.js"></script>
<script>
$(function(){
$("#txtaccount").blur(function(){
$.post("check.asp",
{
name:$(this).val(),
type:"tjnickname"
},
function(data,status){
if(data=='0'){
$("#nicknamemsg").html(" <font color='green'>会员编号不存在</font>");
}
else{
$("#nicknamemsg").html(" <font color='green'> " + data + " </font>");
}
});
});
})
</script>
老八系统简易调用AJAX
最新推荐文章于 2022-03-06 19:20:55 发布