I try to check a radio button with jQuery. Here\'s my code:
Try This:
$("input[name=type]").val(['1']);
http://jsfiddle.net/nwo706xw/