Answers for "disable button css in bootstrap"

39

bootstarp btn colors

<button type="button" class="btn btn-primary">Blue</button>
<button type="button" class="btn btn-secondary">Grey</button>
<button type="button" class="btn btn-success">Green</button>
<button type="button" class="btn btn-danger">Red</button>
<button type="button" class="btn btn-warning">Yellow</button>
<button type="button" class="btn btn-info">Ligth blue</button>
<button type="button" class="btn btn-light">White</button>
<button type="button" class="btn btn-dark">Black</button>

<button type="button" class="btn btn-link">White with blue text</button>
Posted by: Guest on April-23-2020
0

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>
Posted by: Guest on September-24-2020
1

bootstrap disable button after click

$("#buttonid").on("click", function() {
    $(this).prop("disabled", true);
});
Posted by: Guest on March-04-2021

Browse Popular Code Answers by Language