Using JQuery to bind “focus” and “blur” functions for “window”, doesn't work in IE

前端 未结 3 1266
遥遥无期
遥遥无期 2020-11-29 04:47

I need to use JQuery like the follwoing:

var focusFlag = 1;
jQuery(window).bind(\"focus\", function(event)
{
focusFlag = 1;
});

jQuery(window).bind(\"blur\"         


        
3条回答
提交回复
热议问题