This is a FireFox (3.6.13) problem (cannot reproduce in IE 8) - however, using IE8 is not a viable alternative since it's such a crappy browser.
I have a ListBox on my page that has an item that appears checked even though it is actually not checked (or selected). If I click on the erroneously checked item, the code executes as if I have just checked it, not unchecked it. Also, the image remains checked. If I check it again, it unchecks the item and the code executes as such.
Here's a strange part: if I select the 2nd item in the list and refresh the web page (using the browser's refresh button), the 1st item will appear selected (even though it's not). When I use FireBug to look at the checkbox elements in the ListBox, the box does NOT have the attribute
I have a ListBox on my page that has an item that appears checked even though it is actually not checked (or selected). If I click on the erroneously checked item, the code executes as if I have just checked it, not unchecked it. Also, the image remains checked. If I check it again, it unchecks the item and the code executes as such.
Here's a strange part: if I select the 2nd item in the list and refresh the web page (using the browser's refresh button), the 1st item will appear selected (even though it's not). When I use FireBug to look at the checkbox elements in the ListBox, the box does NOT have the attribute
checked="checked"
. The css styles on the elements didn't reveal anything either.