jQuery唯一性验证
$(document).ready(function(){$("#submitBoutton").bind("click",function(){$("#form").attr("action","Users_addUsers.action").attr("method","post").submit();})$("#userName").bind("blur",function(){$.post("Users_checkUserName.action",{userName:$("#userName").val()},function(date){var status=data.status;if(status==1){alert("次用户名以用,请重新填写!");$("#submitBoutton").unbind("click");$("#userName").focus();}else{$("#submitBoutton").bind("click",function(){$("#form").attr("action","Users_addUsers.action").attr("method","post").submit();})}},"json")})})?