获取光标时隐藏错误信息

$('#person_name,#person_password,#person_captcha').focus(function () {
$("#errorMsg").slideUp();
});

 

<div class="error_show" id="errorMsg">
                <c:if test="${not empty message}"><script>document.getElementById("errorMsg").style.display = "block";;</script>${message}</c:if>
            </div>

 

posted on 2016-04-05 13:51  james-roger  阅读(139)  评论(0编辑  收藏  举报