JQuery - Online Test

Total Number of Questions in this Test: 5
Total Number of Questions Answered: 0
Total Number of Questions Skipped: 0


Time left:
 
Question : 1

How to add css class to a control using JQuery?

Options :
  •  $("divId").addClass("yourCSSClass");
  •  #cssClass("myDiv").add("className")
  •  addClass("#myDiv")
  •  class.add("yourCSSClass")