Is there a way to make the winding twitter bootstrap button not appear on certain conditions so that it does not appear when you open the modal?
And in another case, turn it on again.
<a href="#" id="edit-modal-button" class="btn btn-warning" data-dismiss="modal"> Edit </a>
Update
The button for hiding is inside the modal
Ive tried the following to no avail
$("edit-modal-button").css('display','none'); $('edit-modal-button').hide();
source share