This is my element with a custom attribute:
<input type="radio" status="B" name="OPT_PARENT"/>
My script:
Alert($(this).attr("status"));
Alert($(this).attr("test"));
Output:
Firefox 3.0.10 --> "B" and "undefined"
IE 8.0.7600.16385 --> "true" and "undefined"
My observation:
IE will return the option button "checked state" which is true/false not the custom attribute value. But IE is definitely can detect whether the custom attribute exist.
My question: How to get my custom attribute value in IE?