Reputation: 11817
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?
Upvotes: 1
Views: 1172
Reputation: 17554
This should work
$(window).bind('resize', function() {
alert('Resizing now');
});
Upvotes: 4