Question: Please help me to come out of this

I have already this part:

```
$(':input[type=radio]',taskClass).not(':button, :submit, :reset, :hidden').val('')
.removeAttr('checked');

```

Answer: 
Try this
if radio button is deselected, then clear its value

```
if( $(':input[type=radio]').is(':checked') == false ) {

   $(this).attr('checked',false).val('');
}

```
I just located the radio buttons with the name

```
$("[name=radio-button-name]").prop('checked', false);

```