jquery get width and height of element javascript code example Example: jquery set width $(".example").width("px");