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.

Share this

Related Posts

Previous
Next Post »