Which method is used to set or get the CSS style attribute?

79. Which method is used to set or get the CSS style attribute?

  1. cssAttribute()
  2. attribute()
  3. attr()
  4. css()

Answer: D) css()

Explanation:

The jQuery method css() is used to get or set the CSS style attribute.

Comments and Discussions!

Load comments ↻






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