添加注释
This commit is contained in:
@@ -45,20 +45,24 @@
|
||||
</body>
|
||||
<script>
|
||||
$(function () {
|
||||
// 给username 输入框绑定焦点失去事件
|
||||
$('.Username').blur(function () {
|
||||
$('.Username').tooltip('userName');
|
||||
$('.Username').tooltip('userName'); // 用户名验证函数
|
||||
})
|
||||
// Email 输入框绑定焦点失去事件
|
||||
$('.Email').blur(function () {
|
||||
$('.Email').tooltip('email');
|
||||
$('.Email').tooltip('email'); // 邮箱验证函数
|
||||
})
|
||||
// Password 输入框绑定焦点失去事件
|
||||
$('.Password').blur(function () {
|
||||
$('.Password').tooltip('password');
|
||||
$('.Password').tooltip('password'); // 密码验证函数
|
||||
})
|
||||
|
||||
|
||||
|
||||
})
|
||||
|
||||
// 表单验证,全为true 则提交,反之不提交
|
||||
function func() {
|
||||
|
||||
var flag1 = $('.Username').tooltip('userName');
|
||||
|
Reference in New Issue
Block a user