Post

jQueryjQuery

s
sreelu 123

Posted on 26th April 2024|59 views

0
votes

Datepicker Is Not A Function

How to solve “ $(”#datepicker“).datepicker is not a function” error in jQuery?

While I am using DatePicker jQuery UI plugin, within a current .aspx page I am getting an error called:

$("#datepicker").datepicker is not a function

Can anyone please help me?

 

Answers
P
divija reddy

Posted on 26th April 2024

You can use the following code to solve the error

var $j = jQuery.noConflict(); 

$j("#datepicker").datepicker();

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos