<input type="radio" name="sex" value="0" >女
<input type="radio" name="sex" value="1" >男
$('input:radio').click(function(){
var $radio = $(this);
// if this was previously checked
if ($radio.data('waschecked') == true){
$radio.prop('checked', false);
$radio.data('waschecked', false);
} else {
$radio.prop('checked', true);
$radio.data('waschecked', true);
}
});