add attribute jquery return method code example Example: jquery set att $input.attr("attributeName", "attributeValue");