Ik heb hier een heel korte default.htm:
In internet explorer werkt dit prima, maar op de een of andere manier werkt het niet in safari en firefox. Met de asp is verder niets mis, want als ik gewoon in firefox aangeef: localhost/website/grafiek.asp?station=265 plot hij de grafiek gewoon.
Iemand idee wat ik fout doe (heb al lang niet meer html etc gebruikt, dus het is weer wennen).
code:
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
| <HTML> <BODY> Selecteer het meetstation: <SELECT name=station> <OPTION value="265">De Bilt</OPTION> <OPTION value="793">Terlet</OPTION> <OPTION value="1957">Stein brug</OPTION> </SELECT> <BR><BR><HR><BR><BR> <img name=imgChart style="visibility:visible" > </BODY> <SCRIPT Language = VBScript> Function window_onLoad() station.selectedIndex = -1 End Function Function station_OnChange() imgChart.Src = "grafiek.asp?idlocation=" & station.Value imgChart.style.visibility = "visible" End Function </SCRIPT> </HTML> |
In internet explorer werkt dit prima, maar op de een of andere manier werkt het niet in safari en firefox. Met de asp is verder niets mis, want als ik gewoon in firefox aangeef: localhost/website/grafiek.asp?station=265 plot hij de grafiek gewoon.
Iemand idee wat ik fout doe (heb al lang niet meer html etc gebruikt, dus het is weer wennen).