Answers for "how to disable submit button in html"

1

button onclick disable after submit

onClick="this.form.submit(); this.disabled=true; this.value='Sending…'; "
Posted by: Guest on March-09-2021
1

on form submit disable button

$('form#id').submit(function(){
    $(this).find(':input[type=submit]').prop('disabled', true);
});
Posted by: Guest on March-15-2022
6

prevent button form submit

<button type="button">Button</button>
Posted by: Guest on July-09-2020

Code answers related to "how to disable submit button in html"

Browse Popular Code Answers by Language