Menu
I have a set of radio buttons with the same name, so that the user can only select one at a time. However, when i try to use javascript to disable the buttons, the javascript only works if the radio buttons have separate names. Does anyone know a solution to this? Here is my code:
if(document.addtocart.zaicprice.options[id].value == “20”)
{
document.addtocart.laminated.disabled = true;
}
Yes<input type=’radio’ checked=’true’ value=’yes’ name=’laminated’>
No<input type=’radio’ value=’no’ name=’laminated’>