Which jQuery DOM method is used to get the attribute value?

62. Which jQuery DOM method is used to get the attribute value?

  1. attr()
  2. attribute()
  3. attrib()
  4. val()

Answer: A) attr()

Explanation:

The jQuery DOM method attr() is used to get the attribute value.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.