jquery get document width code example
Example 1: get the size of the browser jquery
$(window).height();
$(window).width();
Example 2: get page resolution jquery
$( window ).width()
Example 3: jquery get element width
$('#element').width();
Example 4: jquery set width
$(".example").width("px");