Attributes in Jquery
$(selector).attr(attribute); Set the attribute and value. $(selector).attr(attribute,value); $(selector).removeAttr(attribute);
$(selector).attr(attribute); Set the attribute and value. $(selector).attr(attribute,value); $(selector).removeAttr(attribute);