Gøre radiobutton utilgængelig hvis en anden radiobutton er valgt
Kan man lave det så hvis man har valgt pakke1 knappen swå kan man ikke vælge noget i tshirt-knapperne?Kode:
<form name="Abonnoment" method="post" action="http://scripts.wannafind.dk/form2mail.asp">
<input type="hidden" name="orderby" value="Fornavn,---------,Efternavn,---------,Adresse,---------,postnr_by,---------,foedselsdato,---------,Telefon,---------,Email,---------,pakke,---------,tshirt" />
<input type="hidden" name="redirect" value="http://www.dubcnn.dk/abonnement_svar.html" />
<input type="hidden" name="subject" value="Abonnoment" />
<input type="hidden" name="fromaddress" value="xxx@xx.dk" />
<input type="hidden" name="recipient" value="xx@xx.dk" />
<table style="width: 100%">
<tbody>
<tr class="bodyfontBlack">
<td> </td>
<td> </td>
<td style="width: 81px"> </td>
<td class="style5">
Eks. 25/02/1982</td>
</tr>
<tr class="bodyfontBlack">
<td>Fornavn *</td>
<td>
<input name="Fornavn" type="text" class="bodyfontBlack" id="Fornavn" size="40" tabindex="1" /> </td>
<td style="width: 81px">Fødselsdato *</td>
<td>
<input name="foedselsdato" type="text" class="bodyfontBlack" id="foedselsdato" size="40" tabindex="5" /></td>
</tr>
<tr class="bodyfontBlack">
<td>Efternavn *</td>
<td>
<input name="Efternavn" type="text" class="bodyfontBlack" id="Efternavn" size="40" tabindex="2" />
</td>
<td style="width: 81px">Telefon *</td>
<td>
<input name="Telefon" type="text" class="bodyfontBlack" id="Telefon" size="40" tabindex="6" /></td>
</tr>
<tr class="bodyfontBlack">
<td>Adresse *</td>
<td>
<input name="Adresse" type="text" class="bodyfontBlack" id="Adresse" size="40" tabindex="3" /> </td>
<td style="width: 81px">Email *</td>
<td>
<input name="Email" type="text" class="bodyfontBlack" id="Email" size="40" tabindex="7" /></td>
</tr>
<tr class="bodyfontBlack">
<td>Postnr. og By *</td>
<td>
<input name="postnr_by" type="text" class="bodyfontBlack" id="postnr_by" size="40" tabindex="4" /></td>
<td style="width: 81px"> </td>
<td>
</td>
</tr>
<tr class="bodyfontBlack">
<td> </td>
<td>
Pakke
Nr.1
<input name="Pakke" type="radio" value="1" checked="checked" />
*Pris
50,-</td>
<td style="width: 81px"> </td>
<td>
<input name="send" type="submit" class="bodyfontBlack" onclick="validering();return false;" value="Bestil Abonnoment" />
<input name="Reset" type="reset" class="bodyfontBlack" value="Slet alt" /></td>
</tr>
<tr class="bodyfontBlack">
<td> </td>
<td>
Pakke
Nr.2 <input name="Pakke" type="radio" value="2" />
*Pris 299,- </td>
<td style="width: 81px"> </td>
<td>
</td>
</tr>
<tr class="bodyfontBlack">
<td> </td>
<td>
Pakke
Nr.3 <input name="Pakke" type="radio" value="3" />
*Pris 329,-</td>
<td style="width: 81px"> </td>
<td>
</td>
</tr>
<tr class="bodyfontBlack">
<td>Str. på T-shirt</td>
<td>
S<input name="tshirt" type="radio" value="S" /> M<input name="tshirt" type="radio" value="M" />
L<input name="tshirt" type="radio" value="L" /> XL<input name="tshirt" type="radio" value="XL" />
2XL<input name="tshirt" type="radio" value="2XL" />
3XL<input name="tshirt" type="radio" value="3XL"/></td>
<td style="width: 81px"> </td>
<td>
</td>
</tr>
</tbody>
</table>
<br />
<br />
</form>
På forhånd tak :)