$(selector).resize()Attach a function to the resize resize event:
$(selector).resize(function)
$( window ).resize(function() {In this example, a message is concatenated to the < div id="log"> each time the window is resized.
$( "#log" ).append( "resize() method called" );
});
Please disable your ad blocker and refresh the window to use this website.