get screen resolution jquery

JavaScript
window.screen.width
Source

Also in JavaScript: