jQuery DatePicker error “Microsoft JScript runtime error: Object doesn’t support this property or method”

If you are receiving this error “Microsoft JScript runtime error: Object doesn’t support this property or method” while trying to use the jQuery date picker it is because you have not included all the required jQuery file.

Steps to rectify

  1. Go to the the jQuery download page and select the options you require. http://jqueryui.com/download
  2. Download and unzip.
  3. Traverse to the demo folder and inspect the sample HTML files for what is required.

 

Here is a screen shot of the bare minimum needed to get the date picker control to work:

image

Advertisements