Closed Bug 237363 Opened 20 years ago Closed 20 years ago

var myDIVE = document.getElementsByTagName("div")[1].childNodes.item(0).nodeName

Categories

(Documentation Graveyard :: Web Developer, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: ahmedmomtaz, Unassigned)

References

Details

Attachments

(1 file, 6 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

// it return (#text) but its (span) in IE 5.5

// win98 and xp proffe.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
(#text) 

Expected Results:  
(span)
Attached file web page (obsolete) —
*** Bug 237362 has been marked as a duplicate of this bug. ***
Attached file web page (obsolete) —
*** Bug 237361 has been marked as a duplicate of this bug. ***
Attached file web page (obsolete) —
Attached file web page (obsolete) —
Attached file web page (obsolete) —
Attached file web page (obsolete) —
reporter: please stop attaching documents.
Attached file web page
Attachment #143793 - Attachment is obsolete: true
Attachment #143794 - Attachment is obsolete: true
Attachment #143795 - Attachment is obsolete: true
Attachment #143796 - Attachment is obsolete: true
Attachment #143797 - Attachment is obsolete: true
Attachment #143798 - Attachment is obsolete: true
--> INVALID

Reporter: This is not the place to discuss problems you're having with HTML. The
problem you're having is you're trying to get a element returned when all you're
getting is text. I suggest reading a DOM tutorial so you're familiar with how
this would work.

This is definetely not a bug in mozilla or on the mozilla website.
Status: NEW → RESOLVED
Closed: 20 years ago
QA Contact: rudman → rlk
Resolution: --- → INVALID
no testcase -> v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.