Home »
MCQs »
jQuery MCQs
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?
- cssAttribute()
- attribute()
- attr()
- css()
Answer: D) css()
Explanation:
The jQuery method css() is used to get or set the CSS style attribute.