Closed Bug 108673 Opened 23 years ago Closed 23 years ago

BUG with SELECTION selectedIndex property

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 101720

People

(Reporter: sagu, Assigned: rogerl)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011011
BuildID:    2001101117

It does not matter if one of other than first <selection> <option> is
market as <option selected>. document.form.seletction.selectedIndex every time
returns 0.
Look source of page http://www.vtex.lt/sagu/testCase.html


Reproducible: Always
Steps to Reproduce:
1.run browser
2.enter URL http://www.vtex.lt/sagu/testCase.html
3.

Actual Results:  on the last line the last  digit is 0 (it is generated by
JavaScript document.form.selection.selectedIndex)

Expected Results:  it should be 1
This is fixed by the checkin for bug 34297.  Worksforme.

*** This bug has been marked as a duplicate of 101720 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified WorksForMe with Mozilla trunk binary 20011105xx on WinNT.
Status: RESOLVED → VERIFIED
(Also verified as duplicate of bug 101720,
"selectedIndex has wrong value right after intialization"
You need to log in before you can comment on or make changes to this bug.