Closed Bug 104726 Opened 23 years ago Closed 23 years ago

Form field pull-down problem (Javascript)

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 100511

People

(Reporter: dgk, Assigned: rods)

References

()

Details

Attachments

(1 file)

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

This happens on a member-only page, so I will attach the HTML source rather than
give out username and password.

The pull-down for selected dates doesn't work, in that the item selected doesn't
appear in the field. (Note: other pull down fields do work).

This functionality works under Netscape 4.78.

I note from the page source that these pull-downs are implemented via
Javascript, which is what I think the problem is.

Reproducible: Always
Steps to Reproduce:
Open attached HTML source.
jkeiser, this is a dup of that "<script> in <select>" bug that's fixed on your
branch, right?
I just tested this with Netscape 6.1, and it works as it should.
Here is a sample of the HTML:

<select name="month1">                              
  <script>
    document.write("<option value=''>month</option>");

                   ETC.
                   ETC.


This is exactly the problem reported in bug 100511,
"Impossible to make a selection in a comboBox (script, document.write)"

Reassigning to HTML Form Controls -
Assignee: rogerl → rods
Status: UNCONFIRMED → NEW
Component: Javascript Engine → HTML Form Controls
Ever confirmed: true
QA Contact: pschwartau → madhur
Summarizing: the problem is caused by <SELECT>'s having <OPTION>'s
that are document.written. This is bug 100511.



*** This bug has been marked as a duplicate of 100511 ***
Status: NEW → 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.

Attachment

General

Creator:
Created:
Updated:
Size: