
jquery-datepicker - issue #375
Error: object doesn't support property or method 'datepicker' on ie7,8,9.
The date picker not shows up on IE 7,8, and 9.Then when i go to console in developer tools, i saw this error: SCRIPT438: Object doesn't support property or method 'datepicker'
My code are: <link rel="stylesheet" href="../inc/jquery-ui.css" /> <script src="../inc/jquery-1.9.1.js"></script> <script src="../inc/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <script> $(function() { $( "#from" ).datepicker({ defaultDate: "+1w", changeMonth: true, numberOfMonths: 2, onClose: function( selectedDate ) { $( "#to" ).datepicker( "option", "minDate", selectedDate ); } }); $( "#to" ).datepicker({ defaultDate: "+1w", changeMonth: true, numberOfMonths: 2, onClose: function( selectedDate ) { $( "#from" ).datepicker( "option", "maxDate", selectedDate ); } });
});
</script>
its look nice in IE10 (below image). But, the issue is my user need it in IE 7,8 and 9. Please assist.
- datepickerIE10.PNG 21.09KB
Comment #1
Posted on Aug 16, 2013 by Massive BearYou are including the jQuery UI date picker which is different to this one:
https://code.google.com/p/jquery-datepicker/wiki/NotTheUIDatePicker
Comment #2
Posted on Aug 16, 2013 by Massive BirdThanks kelvin.so i need to use jquery version 10.For now, its work on IE9 and 8. IE7 not try yet since i hv issue to downgrade my PC to IE7.
Status: New
Labels:
Type-Defect
Priority-Medium