Radio Button reset Jquery

by mottalrd

HTML

<input type="radio" name="foo">
<input type="radio" name="foo">
<input type="radio" name="foo">

JavaScript

$('input').first().prop('checked', true);
$('input').first().prop('checked', false);