这是代码,有什么想法吗?这适用于其他浏览器,但它卡在 ie8 中。任何帮助将不胜感激 。
function getRadioValue(radioN)
{
    for(i=0; i<document.kartice_form[radioN].length; i++)
    {
        if (document.kartice_form[radioN][i].checked == true)
            return parseInt(document.kartice_form[radioN][i].value);
    }
}