jQuery UI " $("#datepicker").datepicker is not a function"
Posted
by burnt1ce
on Stack Overflow
See other posts from Stack Overflow
or by burnt1ce
Published on 2009-07-31T13:59:39Z
Indexed on
2010/04/23
1:43 UTC
Read the original article
Hit count: 649
When i use DatePicker, jQuery's UI plugin, in an existing .aspx page i get errors that "$("#datepicker").datepicker is not a function". However, when I copy and paste the same code that creates and uses the DatePicker to an html file that's also in the same directory as the aspx page, it works flawlessly. This leads me to assume that there are some JS files in the aspx page that's preventing the DatePicker or maybe jQuery's UI JS files to load properly.
Can anyone confirm my beliefs or provide any tips on finding the culprit that's interfering with jQuery's UI plugins?
© Stack Overflow or respective owner