Home »
MCQs »
jQuery MCQs
Which jQuery DOM method is used to get the attribute value?
62. Which jQuery DOM method is used to get the attribute value?
- attr()
- attribute()
- attrib()
- val()
Answer: A) attr()
Explanation:
The jQuery DOM method attr() is used to get the attribute value.