Get Screen Size With Javascript

You actually don’t need jQuery to simply find the user’s screen resolution size.  It’s fairly simple with plain old javascript.

Your current screen resolution is:

If you’re looking for something a bit more complicated that gets the viewport, meaning the actual size of the users of the browser window, and watches for changes in the size of the viewport, jQuery is great for that. The below example does this.  It also make sure jQuery is loaded and only once.

Your current browser viewport size is: