I am using below scripts in my page and have included popper.min.js using CDN but getting an error, "Syntax error Unexpected token 'export' popper.min.js"
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.full.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/popper.min.js"></script>
Here is the error image, take a look
How can I do it?
I am trying to get today's date using Javscript, which I can do using
new Date() but i would like to know, how can I get it formatted in dd/mm/yyyy and show it in datepicker input?