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