8.7w+
社区成员
<script src="http://ajax.Microsoft.com/ajax/jQuery/jquery-1.3.2.min.js" type="text/javascript"> </script>
<script>
$(document).ready(function(){
$("#regist_username").blur(function(){
var username = $(this).val();
if (username.length <6 || username.length>16){
$("#username_msg").empty().append("用户名长度必须位于6~16位");
}
})
})
</script>
<b>Username</b> <input type="text" name="username" id="regist_username">
<b id="username_msg"></b>