how to clear radio button input when someone types in an input field
<script>
$('#textInput').click(function () {
$('input[name="radio"]').prop("checked", false);
});
</script>
how to clear radio button input when someone types in an input field
<script>
$('#textInput').click(function () {
$('input[name="radio"]').prop("checked", false);
});
</script>
disabling submit button until all fields have values
$(function () {
$('#submits').attr('disabled', true);
$('#initial_5').change(function () {
if ($('#initial_1').val() != '' && $('#initial_2').val() != '' && $('#initial_3').val() != '' && $('#initial_4').val() != '' && $('#initial_5').val() != '') {
$('#submits').attr('disabled', false);
} else {
$('#submits').attr('disabled', true);
}
});
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us