Closed Bug 104964 Opened 23 years ago Closed 23 years ago

select in form created by javascript doesnt work

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 100511

People

(Reporter: he, Assigned: rods)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.5) Gecko/20011012
BuildID:    2001101202

If a <select> form component is created and javascript is
used to build the options list using document.writeln
the elements in the select menu cant be selected.
This affects for example games.yahoo.com (selecting a game room).

Reproducible: Always
Steps to Reproduce:
1.Open the test case that is included
2.Try to select from the select menu in the form
3.

<HTML>

<BODY>
<FORM>
<select name="res">
<script language="Javascript">
document.writeln('<option value="small"'+'> 640x480'+'<option value="large"'+'>
800x600');
</script>
</select>
</FORM>
</BODY>

</HTML>
the fix by this is being tested and should hopefully get checked in soon.

*** This bug has been marked as a duplicate of 100511 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified Duplicate -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.