
本文共 1357 字,大约阅读时间需要 4 分钟。
���������jQuery������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������������jQuery���Equivalence������������������������������������������������������������������������������������������������������������������������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������������
������������������������������������������������������������������
$('form input').on('blur', function() { var $this = $(this); if ($this.attr('required')) { if ($this.val() === '') { $this.closest('form').append( $('').addClass('error').text('������������������������������������������') ); } }});
���������������������������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
