jQuery Removing attribute


Example

To remove an attribute from an element you can use the function .removeAttr(attributeName). For example:

$('#home').removeAttr('title');

This will remove title attribute from the element with ID home.