Neues Problem:
So neues Problem wie mache ich das die Sachen wieder ausgeblendet werden?
Mein Code:
_________________________________________________________________
GELÖSTES PROBLEM :
Mein Formular:
Normaler weiße müsste das Feld was in den Div Tags steckt erst auftauchen wenn ich die Box Nein Anklicke und wenn ich die wieder wegmache müsste die wieder weggehen..
Aber irgendwie passiert nichst..
Warum?
So neues Problem wie mache ich das die Sachen wieder ausgeblendet werden?
Mein Code:
HTML:
<tr>
<td valign="top" width="122" ><font face="Arial" size="1">Tarifklassen</font></td>
<td width="234" ><font face="Arial" size="1">BasicSMS : <input type="radio" value="basic" name="type" onclick="document.getElementById('Basic-feld').style.display='';"><br>
EconomySMS : <input type="radio" value="economy" name="type" onclick="document.getElementById('Economy-feld').style.display='';"><br>
GoldSMS : <input type="radio" value="gold" name="type" onclick="document.getElementById('Gold-feld').style.display='';"><br>
DirectSMS : <input type="radio" value="direct" name="type" onclick="document.getElementById('Direct-feld').style.display='';"><br>
</font></td>
</tr>
<tr id="Basic-feld" style="display:none;">
<td valign="top" width="122" ><font face="Arial" size="1">Preis : 0.025 €</font></td>
<td width="234" ><font face="Arial" size="1">Infos zur BasicSMS</font></td>
</tr>
<tr id="Economy-feld" style="display:none;">
<td valign="top" width="122" ><font face="Arial" size="1">Preis : 0.038 €</font></td>
<td width="234" ><font face="Arial" size="1">Infos zur EconomySMS</font></td>
</tr>
<tr id="Gold-feld" style="display:none;">
<td valign="top" width="122" ><font face="Arial" size="1">Preis : 0.056 €</font></td>
<td width="234" ><font face="Arial" size="1">Infos zur GoldSMS</font></td>
</tr>
<tr id="Direct-feld" style="display:none;">
<td valign="top" width="122" ><font face="Arial" size="1">Preis : 0.085 €</font></td>
<td width="234" ><font face="Arial" size="1">Infos zur DirectSMS</font></td>
</tr>
_________________________________________________________________
GELÖSTES PROBLEM :
Mein Formular:
HTML:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width="122" ><font face="Arial" size="1">Mit Absender Kennung</font></td>
<td width="234" ><font face="Arial" size="1">Ja : <input type="radio" value="4" name="type"> (590000) Lose <br>Nein : <input type="radio" value="2" name="type" onclick="document.getElementById('replyto-feld').style.display = (this.checked) ? 'block' : 'none'"> (230000) Lose</font></td>
</tr>
<div id="replyto-feld" style="display: none">
<tr>
<td valign="top" width="122" ><font face="Arial" size="1">Antwort E-Mail Adresse</font></td>
<td width="234" ><font face="Arial" size="1"><input name="replyto" type="text" value="" class="formfeld" size="33"></td>
</tr>
</div>
<tr>
<td valign="top" width="122"></td>
<td width="234"><input type="submit" value="SMS senden" name="Button" class="sendebtn"></td>
</tr>
</table>
Normaler weiße müsste das Feld was in den Div Tags steckt erst auftauchen wenn ich die Box Nein Anklicke und wenn ich die wieder wegmache müsste die wieder weggehen..
Aber irgendwie passiert nichst..
Warum?
Zuletzt bearbeitet: