Autor Beitrag
Wolle92
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Di 24.06.08 17:42 
Hallo,

bin grad bissle am rumproggen, und plötzlich sagt mir FIrefox, das getElementByID und getElementByName nicht gehen... Also, eigentlich hat es gar nix gesagt, aber mit if(!document.getElementByID) alert('Error!'); hab ich es dann rausgefunden...

Hier funktioniert es ja, deshalb wundert mich das, wieso es bei meiner Datei nicht geht...

_________________
1405006117752879898543142606244511569936384000000000.
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Sa 28.06.08 20:49 
Wenn du ein Element anhand der ID ermittelt zurückgegeben haben möchtest, müssteste noch dazu übergeben, wie die ID überhaupt ist ;)
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: So 29.06.08 11:23 
ja, mach ich ja auch...
aber wenn mir die oben genannte abfrage schon sagt, das es die funktion gar nicht gib, dann kann was nicht stimmen...

Außerdem weiß ich jetzt, woran es lag: es muss Id nicht ID heißen... Ich hasse case-sensitive^^

_________________
1405006117752879898543142606244511569936384000000000.