Closed Bug 105876 Opened 23 years ago Closed 23 years ago

using javascript within select statement of a form breaks

Categories

(SeaMonkey :: UI Design, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 100511

People

(Reporter: pv0uxnr02, Assigned: paulkchen)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5+) Gecko/20011018
BuildID:    2001101822

When you use javascript inside a select statement in a form, you cannot pick any
of the elements, even though the drop down lists shows them as options.

This used to work with Mozilla 0.9.4.

Reproducible: Always
Steps to Reproduce:
Open this form inside mozilla, and try to select a, b, or c:

<html>
<form name=foo action="bar" method=post>

Test:

<select name="test">

<script language="javascript">
document.writeln('<option value="a"> a');
</script>

<option value="b"> b
<option value="c"> b
</select>
</form>
</html>


Actual Results:  Cannot select a, b, or c.

Expected Results:  Should be able to select any of a, b, or c.
John, thanks for the reduced test case.

*** This bug has been marked as a duplicate of 100511 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
mass verification of duplicate bugs: to find all bugspam pertaining to this, set
your search string to "DuplicateBugsBelongInZahadum".

if you think this particular bug is *not* a duplicate, please provide a
compelling reason, as well as check a recent *trunk* build (on the appropriate
platform[s]), before reopening.
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.