$("input[name='marginType']").get(0).checked=false; $("input[name='marginType']").get(1).checked=true;