1<script>
2 $('#textInput').click(function () {
3 $('input[name="radio"]').prop("checked", false);
4 });
5 </script>
6
1 $('input[name="am_payment"]').on('click', function() {
2 if ($(this).val() === '') {
3 $('#theamount').val('').prop("removed", true).focus();
4 }
5 else {
6 $('#theamount').val('').prop("disabled", false);
7 }
8});