disable button on click bootstrap code example
Example 1: bootstrap disable button after click
$("#buttonid").on("click", function() {
$(this).prop("disabled", true);
});
Example 2: bootstrap disabled button
<button type="button" class="btn btn-lg btn-primary" disabled>Primary button</button>
<button type="button" class="btn btn-secondary btn-lg" disabled>Button</button>