I am having a modal. There is a icon on which i want to perform an operation. Below is my function which I am calling on click event of an icon but it is not working.
$(document).ready(function() {
$(document).on('click', '.fc-day', function() {
$('#tmd_schedule').modal('toggle');
});
$(document).on('click', '#add_tmd', function() {
console.log("hi");
});
});
Here is my html code
<i class="fa fa-plus col-md-2 form-control-feedback" id="add_tmd"></i>
.fc-day
??.on()