I have a span element like this
<span id="yui-gen56" class="ir i-doc" style="background-color: transparent;"></span>
Now I want to retrieve the class attribute value so that it should return me ir i-doc for verification. Any idea how can I get this attribute value for further verification.
Thanks in advance