Error : JQuery datepicker plugin is not working or “.datepicker() is not a function”


I scratched my head about 2 days and finally figured out the problem.

If you have .net 2008 project and you are using datepicker plugin, you have to use original version of js files like –

1)jquery.ui.core.js

2)jquery.ui.datepicker.js

BUT if you are using .net 2010 , you can use minimized version of those js files, like-

1)jquery.ui.core.min.js

2)jquery.ui.datepicker.min.js

Hope this will help someone … have a happy coding….  🙂

Additional :

http://jqueryui.com/demos/datepicker/

http://marcgrabanski.com/articles/jquery-ui-datepicker

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s