jquery width of an element code example
Example 1: jquery get element width
$('#element').width();
Example 2: jquery element width
// Returns width of HTML document
$( document ).width();
$('#element').width();
// Returns width of HTML document
$( document ).width();