get width of element jq 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();