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