Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 263 Bytes

File metadata and controls

10 lines (7 loc) · 263 Bytes

Section 4.4: Removing attribute

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

Example:

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

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