Closed Bug 507144 Opened 16 years ago Closed 14 years ago

Item selected in DROP DOWN CONTROL resets to FIRST ITEM on page reload

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bhaktavatsalam.n, Unassigned)

Details

(Whiteboard: [CLOSEME 2011-1-1])

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 My program sets the 'selected' attribute for a <SELECT> drop down control to the third option in the list. But, when I am still on the page and refresh it, eventhough the dependant content is displayed right, the actual value in the drop down list changes to the first item. I would rather be able to explain better with this example. <select> <option>Option1</option> <option>Option2</option> <option>Option3</option> <option>Option4</option> <option>Option5</option> </select> The page depends on the value of this drop down. When I select, Option3[for instance], the page reloads and all dependant data[I query my MySQL server to get related data] loads correctly and the drop down shows "Option3. But, when I refresh the page now, the content appears for how it would be if it was "Option3", but the value indicated in the Drop Down control is "Option1". If you need a more clarified explanation, please do send me an email. Reproducible: Always Steps to Reproduce: Described in "Details" Actual Results: Described in "Details" Expected Results: Described in "Details" Described in "Details"
I don't see a "selected" attribute anywhere in your example. Do you set this via JavaScript? Please attach a (minimal) testcase that shows the problem.
Reporter, are you still seeing this issue with Firefox 3.6.12 or later in safe mode? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles Also, please consider using the most recent Firefox 4 beta build, your bug may be resolved there.
Whiteboard: [CLOSEME 2011-1-1]
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.