give div width to other jquery code example Example: jquery element width // Returns width of HTML document $( document ).width();