javascript function called on redized window code example
Example: how to check if window size of browser s changed javascript
$(window).resize(function() {
console.log('window was resized');
});
$(window).resize(function() {
console.log('window was resized');
});