JS help
JS help
Out of context: Reply #7
- Started
- Last post
- 9 Responses
- dc_again0
because a set of radio buttons are an array, you need to reference them as such. so you would disable them like this:
document.form1.NEWcardType[0].di... = false;
document.form1.NEWcardType[1].di... = false;
document.form1.NEWcardType[2].di... = false;
document.form1.NEWcardType[3].di... = false;(remember, it's js so four elements would be 0 to 3, not 1 to 4).
or loop through them:
for(i=0;i