Closed Bug 708218 Opened 13 years ago Closed 12 years ago

<select> created by Javascript get disabled when reload the page

Categories

(Core :: DOM: Core & HTML, defect)

1.9.2 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: franktlin, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24
Build ID: 20111107172717

Steps to reproduce:

My HTML page has a <select> tag. I use JS to fill in <option>s and set the last one to selected="selected". 
1. Select some other value in the list of <options>.
2. Reload the page, JS code will redraw this page.  


Actual results:

Following the steps listed above, the <select> tag get a disabled="" attributed specified in my page, and is disabled AUTOMATICALLY. The selected <option> shows the last in the list though.


Expected results:

The <select> tag should not be disabled and the syntex of disable attribute is not even right.
Please provide a public URL or reduced test case that exhibits this issue.
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Version: 3.6 Branch → 1.9.2 Branch
Does that work with Firefox 9?
Closing bug as Incomplete - if you are still experiencing this issue or have more information to provide feel free to post back here and we can re-open the bug. You can also get assistance by visiting the Firefox help site -> https://support.mozilla.com/en-US/kb/ask
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.