jquery set width equal to another element code example Example: jquery element width // Returns width of HTML document $( document ).width();