jquery object width code example
Example 1: get width of div jquery
$("#divId").width();
Example 2: jquery element width
// Returns width of HTML document
$( document ).width();
$("#divId").width();
// Returns width of HTML document
$( document ).width();