ich habe ein formular in dem man angeben kann ob man eine kundenummer besitzt, wenn man ja angibt soll ein feld für die kundenumemr erscheinen, wenn man nein angibt sollen felder für persönliche daten erscheinen. das ganze habe ich mit einem java script gelöst, das anfangs nur im IE nicht aber im FF funzte, und nun nach dem ich die anzeigeart von block auf table-row geändert habe geht es nurnoch im FF selbst wenn ich auf block zurücksetze

woran kann das liegen?
link (nur wenn mein pc online ist) :
http://www.kevinq.dtdns.net/ZIEL/index.php?site=seminaranmeldung
PHP:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
<form method="POST" action="" target="_self">
<script type="text/javascript">
function trigger(a) {
if(a == 'ja') {
document.getElementById('nummer').style.display = 'table-row';
document.getElementById('pera').style.display = 'none';
document.getElementById('perb').style.display = 'none';
document.getElementById('perc').style.display = 'none';
document.getElementById('perd').style.display = 'none';
document.getElementById('pere').style.display = 'none';
document.getElementById('perf').style.display = 'none';
document.getElementById('perg').style.display = 'none';
document.getElementById('perh').style.display = 'none';
document.getElementById('peri').style.display = 'none';
document.getElementById('perj').style.display = 'none';
} else if(a == 'nein') {
document.getElementById('nummer').style.display = 'none';
document.getElementById('pera').style.display = 'table-row';
document.getElementById('perb').style.display = 'table-row';
document.getElementById('perc').style.display = 'table-row';
document.getElementById('perd').style.display = 'table-row';
document.getElementById('pere').style.display = 'table-row';
document.getElementById('perf').style.display = 'table-row';
document.getElementById('perg').style.display = 'table-row';
document.getElementById('perh').style.display = 'table-row';
document.getElementById('peri').style.display = 'table-row';
document.getElementById('perj').style.display = 'table-row';
}
}
</script>
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<th class="sitecontent" colspan="3">Anmeldung</th>
</tr>
<tr>
<td class="row1">Buchungs-Nr.:</td>
<td class="row2"><input type="text" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">Rechnungs-Nr.:</td>
<td class="row2"><input type="text" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">Titel:</td>
<td class="row2"><input type="text" class="readonly" readonly="readonly" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">Termin:</td>
<td class="row2"><input type="text" class="readonly" readonly="readonly" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">Ort:</td>
<td class="row2"><input type="text" class="readonly" readonly="readonly" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">Preis:</td>
<td class="row2"><input type="text" class="readonly" readonly="readonly" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">Anzahl der Teilnehmer:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<th class="sitecontent" colspan="3">Persönliche Angaben</th>
</tr>
<tr>
<td class="row1">Kunden-Nr. bereits vorhanden</td>
<td class="row2">Ja<input type="radio" name="kundennummervorhanden" value="ja" onClick="javascript:trigger('ja');" /> Nein<input type="radio" name="kundennummervorhanden" value="nein" onClick="javascript:trigger('nein');" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr Id="nummer" style="display: none;">
<td class="row1">Kunden-Nr.:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr Id="pera" style="display: none;">
<td class="row1">Firma:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr Id="perb" style="display: none;">
<td class="row1">Anrede:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr Id="perc" style="display: none;">
<td class="row1">Vorname:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr Id="perd" style="display: none;">
<td class="row1">Name:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr Id="pere" style="display: none;">
<td class="row1">Straße:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr Id="perf" style="display: none;">
<td class="row1">PLZ:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr ID="perg" style="display: none;">
<td class="row1">Wohnort:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr ID="perh" style="display: none;">
<td class="row1">E-Mail:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr ID="peri" style="display: none;">
<td class="row1">Tel.-Nr.:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr ID="perj" style="display: none;">
<td class="row1">Fax:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<th class="sitecontent" colspan="3">Bankverbindung</th>
</tr>
<tr>
<td class="row1">Zahlungsart:</td>
<td class="row2"><select name="zahlungsart"><option value="">Bitte Wählen</option><option value="">------</option><option value="bankeinzug">Bankeinzug</option><option value="ueberweisung">Überweisung</option><option value="bar">Barzahlung</option></select></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">Bank:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">Konto-Nr:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<td class="row1">BLZ:</td>
<td class="row2"><input type="text" size="35" /></td>
<td class="row3"><img src="images/frage.gif" width="14" height="14" alt="?" onmouseover="return escape('Hilfetext')"></td>
</tr>
<tr>
<th class="sitecontent" colspan="3"><input type="submit" value="Weiter" /><input type="reset" /></th>
</tr>
</table>
</form> |