Hi,
ich habe ein Formular mit den beiden Textfeldern namens 'ueberschrift' und 'name'.
'name' ist eine unglückliche Wahl.
var x = document.formular.name
x könnte jetzt sowohl das name-Attribut des form-Elements als auch das input-Element mit name-Attribut 'name' sein.
Verwende keine Element- oder Attributnamen im name- oder id-Attribut.
var ueberschrift = String.document.form[0].ueberschrift.form;
Was soll das String-Objekt sein?
Ich bekomme nun aber folgenden Fehler:
String.document.form ist NULL oder kein Objekt
Wie hast Du denn das String-Objekt definiert?
cu,
Andreas
--
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/