I have the following part of a form:
I want to change the checked value of these radiobuttons by a javascript. I tried it this way:
to check the radiobutton before 'verzamelfactuur 1', but IE gives me an error: 'this.form_abonnement.ABO_FAKTURERING.1 is null or not an object'. The form itself is named: form_abonnement.
What am I doing wrong? why is the dot between ABO_FAKTURERING and 1 there?
greetz,
Tom
Code:
<input type="radio" name="ABO_FAKTURERING" value="0" checked>aparte factuur
<input type="radio" name="ABO_FAKTURERING" value="1">verzamelfactuur 1
<input type="radio" name="ABO_FAKTURERING" value="2">verzamelfactuur 2
<input type="radio" name="ABO_FAKTURERING" value="3">verzamelfactuur 3
I want to change the checked value of these radiobuttons by a javascript. I tried it this way:
Code:
this.form_abonnement.ABO_FAKTURERING[1].value = 1
What am I doing wrong? why is the dot between ABO_FAKTURERING and 1 there?
greetz,
Tom