[jQuery] $(document).resize bug?

[jQuery] $(document).resize bug?


hello:
I'm trying to do this:
$(document).resize(function(){alert('yea')});
but doesn't work on firefox or chrome, only work fine on IE (WTF!)
I'd tryied $('body').resize... but happen the same.
$(window).resize work fine but i need to detect when the body's
height has been changed by ajax.
ideas?