title: How to dynamically create CSS class in JavaScript and apply?
body: <p>I need to create a CSS stylesheet class dynamically in JavaScript and assign it to some HTML elements like - div, table, span, tr, etc and to some controls like asp:Textbox, Dropdownlist and datalist.</p>
  
  <p>Is it possible?</p>
  
  <p>It would be nice with a sample.</p>