function on change screen width in javascript code example
Example: javascript on screen width change
$(window).resize(function() {
/* Do shit */
console.log('window was resized');
});
$(window).resize(function() {
/* Do shit */
console.log('window was resized');
});