急求,失焦怎么实现?
jquery吧
全部回复
仅看楼主
level 8
JacMacing 楼主
怎么实现失去焦点 给出提示?
2015年09月15日 10点09分 1
level 1
$("").blur(function(){
})
2015年09月15日 13点09分 2
<input type="text" name="meet" id="meet" />
2015年09月15日 13点09分
大神 能写的详细一点吗?
2015年09月15日 13点09分
失焦时显示 获取焦点时消失
2015年09月15日 13点09分
@JacMacing 比如一个输入框input id=a 提示文字 class=text $("#a").focus(function(){ $(".text").hide(); }) $("#a").blur(function(){ $("#a").blur(function(){ $(".text").show(); } }
2015年09月16日 02点09分
level 11
$("").blur(function(){
})
楼上正解,要是带验证的话还要用的ajax
来群里一起交流交流,一个人闷头学太特么难了; 242991399
2015年09月18日 07点09分 3
level 1
focus()和blur()
2015年09月30日 02点09分 4
谢谢,已经实现了!
2015年09月30日 02点09分
1