I worte the code for my data picker to show in the text type having ID=target in codeigniter as this
$(document).ready(function() {
$("#target").datepicker();
});
Then I got this error
“$(“#target”).datepicker is not a function”
Here’s a simple checklist (version numbers may vary):
That’s 2 js files, and one CSS file to run jQueryUI widgets.
And you don’t need datepicker.js. That’s in the development bundle, if you want to fiddle around with their code.