Here is the code, any ideas? This works in other browsers, but it’s stuck in ie8. Any help will be appreciated .
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);
}
}
A re-written function for you, using jQuery (assuming jQuery is okay, since you included it in your tags):