set value to attribute jquery code example Example: jquery set att $input.attr("attributeName", "attributeValue");