RE: [Javascript] Fw: div tag füllen

Peter Lauri lists at dwsasia.com
Thu Jul 27 03:27:53 CDT 2006


.innerHTML might work :)

-----Original Message-----
From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]
On Behalf Of Michael Borchers
Sent: Thursday, July 27, 2006 8:28 PM
To: javascript at LaTech.edu
Subject: [Javascript] Fw: div tag füllen

----- 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?! 

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list