The attr() method sets or returns the specified items' attributes and values. This function returns the value of the FIRST matched element when used to return the attribute value. This method sets one or more attribute/value pairs for the collection of matched elements when used to set attribute values.
The attr() method can be used to set the value of an attribute in a jQuery object. This allows you to change the appearance of your DOM elements without having to use JavaScript.
The attr() method can be used to access the attributes of an object. This can be useful when you want to make sure that you are only changing the attributes that you want to change. You can use this method in conjunction with other methods such as css() and html().
The attr() method is one of the most useful functions in jQuery. It can be used for many different purposes, including setting and retrieving attributes, adding event handlers, and more.
Learner's Ratings
4.9
Overall Rating
91%
9%
0%
0%
0%
Reviews
A
atul Machindra raut
5
The way he is teaching is awesome. All the topics explain well. Thank you Joel sir!
A
Akshay P
4
it was good but pls also provide captions of the vedio
D
Dravinanshu Mishra
5
Excellent course.
C
Chinna
5
Explanation is good......
A
Are you Mango
5
you can make more responsive website after leraning this . It is very easy language
K
Kishor balpande
5
The way he is teaching is awesome. All the topics explain well. Thank you Joel sir!
J
Jai Kumar
5
Its is One Of the My Best Learning Course Evevr Because this is First Website Or Channel They Are free And Easy to Learn thankyou So much For this Course.
Share a personalized message with your friends.