How can I make the "Save" button active when I click on "Edit"? I've attempted the following code, but it doesn't seem to have any effect:
$(document).ready(function() {
$("#btnEdit").click(function() {
$("btnSave").removeProp("disabled");
});
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div class="modal-footer">
<button id="btnEdit" type="button" class="btn btn-danger mt-4">Edit</button>
<button id="btnSave" type="submit" class="btn btn-success mt-4" disabled>Save</button>
</div>