Сообщение от knx23
|
if(radioRegisters['r16409'] == '1')$('input:radio[name="d_ur1"][value="on"]').prop("checked", true);else if(radioRegisters['r16409'] == '0')$('input:radio[name="d_ur1"][value="off"]').prop("checked", true);
|
на
$('[name="d_ur1"]').eq(radioRegisters['r16409']).prev().click();