10
Oct 2016
Apply css class on html elements using jQuery
$(‘div’).addClass(‘active’);
// here active is the class name which you want to apply on your html page.
// div is the element on which you apply specified class.