jQuery获取鼠标事件源
时间:2020-07-04 14:44:47
收藏:0
阅读:51
jQuery获取鼠标事件源(万能)
//任意位置
$(document).ready(function(){
$(document).click(function(){
$("#id_").hide();
});
});
//是否获得焦点:
if($("#mybtn").is(":focus")){
doSomethingHere();
}
原文:https://www.cnblogs.com/meijifu/p/13234692.html
评论(0)