button onclick disable after submit
onClick="this.form.submit(); this.disabled=true; this.value='Sending…'; "
button onclick disable after submit
onClick="this.form.submit(); this.disabled=true; this.value='Sending…'; "
disable button click jquery
function load(recieving_id){
$('#roommate_but').prop('disabled', true);
$.get('include.inc.php?i=' + recieving_id, function(data) {
$("#roommate_but").html(data);
});
}
disable button after one click
You can add an onclick handler to your button:
document.getElementById("idOfButton").onclick = function() {
//disable
this.disabled = true;
//do some validation stuff
}
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