1. What is the purpose of the attr() function in jQuery? | ![]() |
2. How can I use the attr() function to change the value of an attribute in jQuery? | ![]() |
3. Can I use the attr() function to add a new attribute to an element in jQuery? | ![]() |
4. How can I remove an attribute from an element using the attr() function in jQuery? | ![]() |
5. Is it possible to retrieve the value of an attribute using the attr() function in jQuery? | ![]() |