Closed
Bug 61072
Opened 25 years ago
Closed 25 years ago
document.links not working properly
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: venur, Assigned: jst)
Details
Attachments
(1 file)
|
3.08 KB,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/4.5 [en] (WinNT; I)
BuildID: 2000101014
In the attached Html document , I have 20 links which I am capturing using
document.links[index], I am opening a window for each link.
It is working properly in N4.6 but on N6 and mozilla this is not working.
Reproducible: Always
Steps to Reproduce:
1.Load the Html Documet(Attached)
2.It will automatically traverse through all the links
3.donot close any windows manually
Actual Results: Each time a window with link to a junk address is opening
Expected Results: Each time a window with prope links mentioned in the list
should be opened
Comment 2•25 years ago
|
||
document.links[index] is an acnhor element object. You should probably be using
document.links[index].href for what you are doing.
There was an old bug on this but I can't find it....
Comment 3•25 years ago
|
||
Dup of bug 49941. "They" are debating on whether they should fix this or not.
Fabian.
*** This bug has been marked as a duplicate of 49941 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•