[Javascript] Fw: div tag füllen

Michael Borchers list at tridemail.de
Thu Jul 27 08:28:11 CDT 2006


----- Original Message ----- 
From: "Michael Borchers" <list at tridemail.de>
To: <javascript at LaTech.edu>
Sent: Thursday, July 27, 2006 3:26 PM
Subject: div tag füllen


> ich habe einen <div id="test">,
> ein neuer inhalt kommt aus httpRequest.responseText.
>
> nun versuche ich den div zu füllen:
> document.getElementById('test').value = httpRequest.responseText;
>
> der responseText ist auf jeden Fall mit Inhalt gefüllt,
> nur im div will kein Text erscheinen.
>
> Ich vermute value funzt hier nicht?
> wie sonst? da war doch mal was...hm...

sry, got the wrong list.
ok, again:

 i try to fill a div tag (see above) with a httpRequest.responseText,
which definitely is there! i guess it won't work with the "value" tag?! 




More information about the Javascript mailing list