Ticket #11116 (closed bug: invalid)
Trying to set attribute selected to anything sets it to "selected"
|Reported by:||r_rom@…||Owned by:||r_rom@…|
In my code I use img elements as tabs, and to track their states I've used an attributes that they aren't normally supposed to have: selected. I set this attribute to true or false based on the state. This used to work, but with some version it broke, and I've discovered this with version 1.7.1 of jQuery. What happens now is that when I try to set this attribute to *anything* at all, it ends up getting set to "selected".
I can change my code to work around this, but I wanted to report this because the change in jQuery has broken my previously working code.