get width tag to jqery 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();