Closed Bug 20815 Opened 25 years ago Closed 25 years ago

document.getElementsByName not working

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Linux
defect

Tracking

()

CLOSED INVALID

People

(Reporter: dbaron, Assigned: vidur)

Details

Attachments

(1 file)

DESCRIPTION: document.getElementsByName (which is part of the HTML DOM, as opposed to document.getElementsByTagName, which is part of the Core DOM) is not working. STEPS TO REPRODUCE: * load attached test case ACTUAL RESULTS: * alert comes up giving the values of two things (the lengths of document.getELementsByTagName('body') and document.getElementsByName('body')). The first is 1, the second is 0. EXPECTED RESULTS: * both should be 1 DOES NOT WORK CORRECTLY ON: * Linux, mozilla, 1999-12-02-16-M12
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Never mind. I'm going crazy... :-) getElementsByName is for getting by NAME attribute. Marking INVALID
Status: RESOLVED → CLOSED
Closed.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: