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

Michael Borchers list at tridemail.de
Thu Jul 27 08:45:34 CDT 2006


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

ok got it back, it's innerHTML ;) 




More information about the Javascript mailing list