width screen jquery code example Example 1: get the size of the browser jquery $(window).height(); $(window).width(); Example 2: get page resolution jquery $( window ).width()