how to write px values with jquery condition code example Example: jquery set width $(".example").width("px");