Jquery Removing attribute
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.
$('#home').removeAttr('title');
In this page (written and validated by A. Gawali) you learned about Jquery Removing attribute . What's Next? If you are interested in completing Jquery tutorial, your next topic will be learning about: Jquery document ready event.
Share On: |