Matthew Wilson wrote:

> On Fri, 15 Dec 2000 19:12:13 +0100, Michael =?ISO-8859-1?Q?R=FCbig?=
> 
> <[EMAIL PROTECTED]> wrote:
> 
> 
>> Hello,
>> I wrote a HTML-file with javascript.
> 
>> With
> 
>>    document.getElementById(Element).innerHTML
>> I want to retrieve the HTML Code inside a <DIV>-Section.
>> 
>> But in my file, Mozilla retrieves the inner HTML-Code AND a <font>-tag
>> which is out od the <div>-tags.
>> 
>> Then I wrote a little new HTML-file to test this feature/bug.
>> But now no problem exists.
>> 
>> Bug or feature?`
> 
> Could it be related to the fact that you cannot legally have a <div>
> tag nested inside a <font> tag?
> 
Hmm. I didn't know this.

But in my little test-file, i hadn't this problem.
The problem in this case is, that I want to retrieve the text of a 
division of my page without any tags. If I write the tags into the 
div-tag, innerHTML will retrieve this tags.

Bye
    Michael


Reply via email to