jquery get screen resolution code example Example 1: get page resolution jquery $( window ).width() Example 2: get screen resolution jquery window.screen.width