Uncaught ReferenceError: $ is not defined - Datepicker - Codeigniter 3 |
Hello Guys, Greetings!
First of all, thank you so much for the help! Scenario: 1° I use codeigniter 2° I added this very simple script in my VIEW FILE. (https://jqueryui.com/datepicker/#default) 3° This is the error message that i receive in the browser: Code: Uncaught ReferenceError: $ is not defined at VM113 info:21 This my controller method: Code: public function info() This my Header VIEW file: header1 Code: <!DOCTYPE html> This my VIEW file: register2 Code: <p>Date: <input type="text" id="datepicker"></p> PS: If i try this example with "all files in the same folder", the script works normally. Just because the .js and .css Links of the Jquery Libraries are in separeted files, i got this conflict. What should i do please? Is that even possible to call the Jquery Script when the HTML-Attributenode is in another file?? Jquery Script - Header File Code: <script> HTML-Attributenode - VIEW File Code: <p>Date: <input type="text" id="datepicker"></p> I would be MEGA Thanksful if someone can help me with it. |
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
|