After much consideration, I decided to implement this calendar plugin on my website
Plugin
Unfortunately, it isn't working as expected. I am encountering the following error:
$(...).pignoseCalendar is not a function at HTMLDocument. (Index:97) at mightThrow (jquery-3.1.1.js:3570) at process (jquery-3.1.1.js:3638)
I have made sure to include the jQuery plugin.
This is the code I have used:
<script src="~/Scripts/jquery-3.1.1.js"></script>
<script src="~/Scripts/moment.min.js"></script>
<link href="~/Content/pignose.calendar.min.css" rel="stylesheet" />
<script src="~/Scripts/pignose.calendar.min.js"></script>
<div id="container" style="width: 100%; height: 700px; margin-top: 85px; white-space: nowrap;">
<div id="left3" >
</div>
<div id="right3">
<p class="blue-text" style="margin-top: 10px;"><b>Opening times</b></p>
<div class="calendar"></div>
</div>
</div>
<script>
$(function() {
$('.calendar').pignoseCalendar();
});
</script>
Could you please provide assistance in identifying what could be causing the error?
Thank you for your help.