Closed Bug 105599 Opened 24 years ago Closed 24 years ago

Combo box does not select values

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 100511

People

(Reporter: navneetkarnani, Assigned: rods)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.5+) Gecko/20011018 BuildID: 2001101803 Combobox in the form does not select values Reproducible: Always Steps to Reproduce: 1. Connect to http://www.borland.com/downloads 2. Select the link on "Appcenter 4.1 Trial Download" 3. Click on "Step 1". This will open a new window. 4. In the new Window, try selecting a Character set from the Combobox. Actual Results: Actual result, nothing happens. Note: IE behaves correctly on this page. Expected Results: Expected result, it should be selected and show in the form.
Seeing this on Linux 2001-10-18-08 trunk. This looks like a JavaScript problem rather than an HTML forms problem. The relevant code is (reduced): <script language="javascript"> document.write("<form name=VP_encoding><input name=t type=hidden value='&#1040;&#192;&#260;&#270;&#901;&#287;&#32;&#32;&#45;&#20491;&#32;'></input></form>"); function VP_getEncoding() { var t = document.forms.VP_encoding.t.value.split("-"); if (t[0] == "Ð?ÀĄĎ΅ğ ") return "<option selected value=UTF8>Utf-8"; else if (t[1] == "­Ó ") return "<option selected value=Big5> Chinese (Big5)" return "<option selected value=>Please Select"; } </script> ------------------------------------ <select NAME="encode"> <script language="javascript">document.write(VP_getEncoding());</script> <option value=UTF8> UTF8 <option value=ISO8859_1> Western (American/European) (ISO8859_1) <option value=Big5> Chinese (Big5) </select>
This may be a dup....
*** This bug has been marked as a duplicate of 100511 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.