Ticket #10910 (closed bug: invalid)
Radio button attribute set to checked doesn't update UI
|Reported by:||Aaron <spyhunter66@…>||Owned by:|
Upgraded from 1.4.4 to 1.7.1 and this piece of code no longer works properly:
selectedProfile.SaveEmail ? $('#remEmailProfile').attr('checked', true) : $('#remEmailProfile').removeAttr('checked'); If my JSON value is set to true, it does add an attribute "checked"="checked" to the proper radio button in the html. However, the browser does not show the radio button as checked.
I tried using .prop("checked", true), but it doesn't appear to do anything.
- Status changed from new to closed
- Resolution set to invalid
- Priority changed from undecided to low
- Component changed from unfiled to attributes