Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • From: list at tridemail.de (Michael Borchers)
  • Subject: Re: [Javascript] Fw: div tag füllen
  • Date: Thu Jul 27 08:43:34 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 ;)