标签:lse 焦点 layer user lock mil cti 文本框 focus
$("#name").blur(function(){
var value = this.value;
var node = this;
$.post(‘<%=root%>/user/checkName‘,{name:value},function (data) {
if(data==‘false‘){
layer.msg(‘[‘+value+‘]已经被占用‘,{icon: 5});//!,ok,wrong,question,lock,cry,smile
node.focus();
}
});
})
标签:lse 焦点 layer user lock mil cti 文本框 focus
原文地址:https://www.cnblogs.com/java-ty/p/12979919.html