I have an accordion as such: fiddle
The problem is that using removeAttr('checked');
doesn't seem to work. I'm also unsure on how to get the relevant radio ($(this).prev("input")
doesn't seem to be the right one)--I know that's a source of the problem, but trying this by selecting a set id (eg. $("#1")
doesn't work either. I've also tried using .prop
and just plain .checked = false
to no avail.