views:

41

answers:

2

The developer tools show no error message. Works fine on Chrome, Firefox and Safari.

$("#datepicker").datepicker();
console.log($("#datepicker").datepicker("isDisabled")); // prints false
$("#datepicker").datepicker("setDate", new Date());
console.log("here"); // doesn't print at all

Thank you for any ideas.

+1  A: 

I didn't realize IE8 even supported the console object. From what I can see, it looks like you need to turn on Developer Tools (F12) to get it to work. Otherwise, console might be causing a JavaScript error which is killing your date picker logic. And make sure you're not using Firebug Lite in IE.

Tom
A: 

Thanks everyone for the help. There were conflicts with other JS files.

Júlio Santos