add class to element javascript

Add CSS Class To An HTML Element Dynamically Using JavaScript
  Raja Tamil