jQuery Attribute Methods

You are Here:

jQuery Attribute Methods

The following are the list of Attribute methods available in jQuery.

MethodExplanation
attr()Gets or Sets attributes and values of the selected elements.
html()Gets or Sets the html content (innerHTML) of the selected elements.
prop()Gets or Sets properties and values of the selected elements..
removeAttr()Removes one or more attributes from the selected elements.
removeProp()Removes a property for the set of matched elements.
val()Gets or Sets the value attribute of the selected elements.

Reminder

Hi Developers, we almost covered 99.5% of jQuery Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in jQuery.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author