0

I use datepicker-babakhani(Javascript date library for parsing, validating, manipulating, and formatting persian dates System.http://babakhani.github.io/PersianWebToolkit/beta/persian-date/) to select the solar date, but I get the following error, can I fix this error? enter image description here

This is my code, which is in the file with the ‍.bladeh.php format

<input class="observer-example" />
<script>
    $('.observer-example').persianDatepicker({
        observer: true,
        format: 'YYYY/MM/DD',
        altField: '.observer-example-alt'
    });
</script>
  • The error is "jQuery is not defined". Did you load jQuery before loading the date library which depends on jQuery? – rid Jul 21 '22 at 11:24
  • That 404 error seems like it's probably important too... – David Jul 21 '22 at 11:28
  • how to load jQuery??????Which file and in which path should be loaded??????? –  Jul 21 '22 at 11:49

0 Answers0