jquery set width

JavaScript
$( window ).width()$(".example").width("px");$("#divId").width();// Returns width of HTML document
$( document ).width();
Source

Also in JavaScript: