Uncaught ReferenceError: $ is not defined - Datepicker - Codeigniter 3 |
One problem might be the use of the "defer" attribute with the <script> elements. This means that jQuery won't load until after all the other html loads.
But this bit of code will try run as soon as the view is loaded. Code: $( "#datepicker" ).datepicker({inline: true}); Remove the defer attr from the <script> tags and see if that helps. You might get new errors that we can address later. |
Messages In This Thread |
Uncaught ReferenceError: $ is not defined - Datepicker - Codeigniter 3 - by Porto - 04-18-2019, 02:28 AM
RE: Uncaught ReferenceError: $ is not defined - Datepicker - Codeigniter 3 - by albertleao - 04-18-2019, 08:20 AM
RE: Uncaught ReferenceError: $ is not defined - Datepicker - Codeigniter 3 - by hc-innov - 04-18-2019, 08:40 AM
RE: Uncaught ReferenceError: $ is not defined - Datepicker - Codeigniter 3 - by dave friend - 04-18-2019, 10:23 AM
RE: Uncaught ReferenceError: $ is not defined - Datepicker - Codeigniter 3 - by Porto - 04-23-2019, 05:08 AM
|