Side navigation
#4437 closed bug (invalid)
Opened March 27, 2009 12:53PM UTC
Closed May 16, 2009 02:55PM UTC
Bug with IE6: removing a selected attribute raise an error
Reported by: | cowa | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | ie6, removeattr | Cc: | |
Blocked by: | Blocking: |
Description
Hello,
my HTML page contains 3 select lists.
1- 1 list containing all the values
2- 1 list showing the selected values
3- 1 list showing the availables values
Double clicking on the 3rd list removes the corresponding value from the 3rd list and adds it from the 2nd and selects it in the 1st.
Double clicking on the 2nd list returns it to the 3rd and deselects it in the 1st.
When double clicking on a value, I get an error in IE6 that I caught with a try/catch in xform-common.js line 49 at the instruction $(this).removeAttr("selected");
Please see the attached sources.
The same code works fine with Firefox 2.
Thanks in advance for the resolution.
That code is outside jQuery. Please reduce this to a test case that shows the problem lies within jQuery. Also, the "selected" attribute is also a "selected" property, that may be causing the issue you are seeing with IE.