Closed
Bug 51361
Opened 25 years ago
Closed 25 years ago
Exception on read/write "selected" property of hidden listbox
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: achilles, Assigned: jst)
References
()
Details
(Keywords: verifyme)
Javascript exception occurs when accessing (reading or writing)
pListBox.options[i].selected, where pListBox is a reference to a
multiple-selection listbox, which is inserted into hidden <div> or <table>
(hidden provided by style="display:none"):
<div id="l_testdiv" style="position:relative;display:none">
<select name="sel_test1" size=5 multiple>
<option>a</option>
<option>b</option>
</select>
</div>
On the given web page if everything hoes ok, user sees three consecutive alert
boxes. If read operation fails, then user sees only the first alert box.
Please, open the javascript console then.
This example works on both IE4.xx and IE5.xx. It works also in Netscape 4.xx,
though it cannot hide div or table by using style="display:none".
Comment 1•25 years ago
|
||
Browser, not engine. Reassigning to Browser-General -
Assignee: rogerl → asa
Component: Javascript Engine → Browser-General
QA Contact: pschwartau → doronr
Comment 2•25 years ago
|
||
->dom
Assignee: asa → jst
Component: Browser-General → DOM Level 0
QA Contact: doronr → desale
Comment 3•25 years ago
|
||
Marking WorksForMe. Using Mozilla nightly binary 2000090508 on WinNT (SP5).
When I go to the given Web page, I get all three messageboxes.
No errors in the JavaScript console -
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Component: DOM Level 0 → Browser-General
Resolution: --- → WORKSFORME
Comment 4•25 years ago
|
||
**Mass Spamm**
adding verifyme keyword to all worksforme bugs.
Keywords: verifyme
Comment 5•25 years ago
|
||
Works For Me:
OS: Windows 98
Platform: PC
Mozilla Build #: 2000100508
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•