I need to use JQuery like the follwoing:
var focusFlag = 1;
jQuery(window).bind("focus", function(event)
{
focusFlag = 1;
});
jQuery(window).bind("blur", function(event)
{
focusFlag = 0;
});
Does anyone know why this doesn't work for IE?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…