Closed Bug 105557 Opened 23 years ago Closed 23 years ago

select can not be used if option tags are written with JavaScript

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 100511

People

(Reporter: simpson, Assigned: rods)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 BuildID: 2001101201 This worked in the previous milestone. When the OPTION element for a SELECT element is written with the document.writeln javascript function. the options appear in the select but they are not clickable. Reproducible: Always Steps to Reproduce: 1.Use the HTML in the Additional information section 2. 3. <html><body><form> day:<select> <script language="JavaScript"> var str = ""; for (var i=0;i<31;i++) str += "<option>"+(i+1)+"</option>"; document.writeln(str); </script> </select> </form></body></html>
There is a fix for this in the works. It's being reviewed right now. *** This bug has been marked as a duplicate of 100511 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
vrfy
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.