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);
    });
});Written by Yesi D
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
 #Jquery 
Authors
Related Tags
#jquery
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#
 
 
 
 
