jQuery resize not working at FireFox, Chrome and Safari

Posted by naveen on Stack Overflow See other posts from Stack Overflow or by naveen
Published on 2008-10-23T08:53:47Z Indexed on 2010/03/12 6:07 UTC
Read the original article Hit count: 284

Filed under:
$("#dvMyDIV").bind("resize", function(){
        alert("Resized");
    });

or

$("#dvMyDIV").resize(function(){
    alert("Resized");
});

The questions

  1. Why is this not working at FireFox, Chrome and Safari?
  2. Can this be considered a jQuery bug since the resize is not handled for other browsers?
  3. Could the only workaround be calling a SetTimeout function checking the clientHeight and clientWidth?
  4. Any workarounds using jQuery?

© Stack Overflow or respective owner

Related posts about jQuery