How to check class name using javascript??
<p>How to check class name using javascript?? 
I am using  this statement..  if (document.getElementByClass("expandable")</p>

<p>but it give me error..  "Object doesn't support this property or method"</p>
