“Tombol Bootstrap Dinonaktifkan” Kode Jawaban

Bootstarp BTN warna

<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>
TheDevStar

Tombol Bootstrap Dinonaktifkan

<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>
Encouraging Eland

tombol bootstrap dinonaktifkan

Make buttons look inactive by adding the disabled boolean attribute to any
<button> element.
<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>
Dev

bootstrap nonaktifkan tombol setelah klik

$("#buttonid").on("click", function() {
    $(this).prop("disabled", true);
});
Wicked Willet

Tombol Bootstrap 4

<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-light">Light</button>
<button type="button" class="btn btn-dark">Dark</button>

<button type="button" class="btn btn-link">Link</button>
Binary Killer

Garis besar tombol bootstrap

<button type="button" class="btn btn-outline-primary" href="#">Primary</button>
TheDevStar

Jawaban yang mirip dengan “Tombol Bootstrap Dinonaktifkan”

Pertanyaan yang mirip dengan “Tombol Bootstrap Dinonaktifkan”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya