Is there a way to make a twitter bootstrap modal button not appear on certain conditions, so that it dont show up when opening the modal?
And on another condition turn it back on again.
<a href="#" id="edit-modal-button" class="btn btn-warning" data-dismiss="modal"> Edit </a>
Update:
The button to hide is inside the modal
Ive tried the following to no avail
$("edit-modal-button").css('display','none');
$('edit-modal-button').hide();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With