how to get the width of div in jquery code example Example: jquery element width // Returns width of HTML document $( document ).width();