jquery with body onblur function
Hello,
i am using jquery. There is function at my content of page sucn as <body onblur="pencereKapat();"> i am tying to evulate same function with jquery.
i tried
$(document).blur( function (){
pencereKapat();
});
it works with firefox but doesnt work with internet explorer.
I tried different form. but none of them works
$('body').blur( function (){
pencereKapat();
});
$(document.body).blur( function (){
pencereKapat();
});
$('body').bind('blur',function (){
pencereKapat();
});
$('body').bind('onBlur',function (){
pencereKapat();
});
has any one have idea about it
Thanks for every one who read my question and interested.
Suleyman Demirkeser