screen width to javascript jquery code example Example: get page resolution jquery $( window ).width()