getting class attribute of radio button in IE
<p>I need to get the class attribute of checked radio button, with name="radio".
Used the code that's working fine in Firefox, but fails in IE.</p>

<pre><code>val = $('input:radio[name=radio]:checked').attr('class');
</code></pre>

<p>How can i accomplish this?</p>
