Ticket #9259 (closed bug: duplicate)
1.6 breaks my code
|Reported by:||chuck@…||Owned by:||chuck@…|
JQuery 1.3 - 1.5.2 seems to run this code ok. 1.6 does not.
In my app I dynamically update the status of two radio buttons that indicate the direction off a "pin".
<div id="pinio"> <input type="radio" name="I_O" value="0" onclick="editPin('I_O',0)"> In<br />
<input type="radio" name="I_O" value="1" onclick="editPin('I_O',1)"> Out<br /><br/> </div>
Whenever a new pin is selected the following jquery updates the radio buttons to indicate which direction that pin in pointing.
var $radios = $('#pinForm input[name="I_O"]:radio'); $radios.filter('[value='+pinsMainRaph[i].PT_io_type+']').attr('checked',true);
pinsMainRaph[i].PT_io_type will be either a "0" or a "1" depending on pin direction.
Works great in earlier versions. In 1.6 it sets the radio buttons correctly the first time it runs, but not at all after that. No errors in Chrome, no clue as to why. Tried several variations and still no workie. Happy to answer any questions you might have.
- Priority changed from undecided to low
- Resolution set to duplicate
- Status changed from pending to closed
- Component changed from unfiled to attributes