jquery width function in javascript code example Example: jquery element width // Returns width of HTML document $( document ).width();