how to capture the resize event in IE8
The resize event does not seems to get fired in IE8 . It works perfectly in Firefox and chrome .
$(window).resize(function()
{
alert( 开发者_如何转开发" resize called " ) ;
}
Am I missing something .
This has worked for me
$(window).bind("resize", function(e){
// do something
});
You are also missing the closing bracket for the resize function;
精彩评论