get width of div using jquery code example Example: jquery element width // Returns width of HTML document $( document ).width();