When a browser window is resized, I understand there's a JQuery method to hook it up to a event handler.
I was wondering if there's one, if the window is resized from the DOM, is there a way to do this?
When a browser window is resized, I understand there's a JQuery method to hook it up to a event handler.
I was wondering if there's one, if the window is resized from the DOM, is there a way to do this?
This should work
$(window).bind('resize', function() {
alert('Resizing now');
});