Last Updated: February 25, 2016
·
691
· silvercorp

Detecting the window resize with jQuery

$(document).ready(function(){
    $(window).resize(function(){
        /*Detecting the window resize with jQuery */    
        /* Detectando el resize de la ventana del Navegador */    
        var widthWrapper = $("#wrapper").width();
        console.log(widthWrapper);
    });
});