I have the following code in my header:
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
Following these scripts, I have the code below:
<script type="text/javascript">
jQuery(function($){ //on document.ready
$('#datePicker').datepicker();
});
</script>
In my HTML file, I am using the following line of code:
<input id="datePicker" name="datePicker" type="date" size="36" onkeypress="return postOnReturn(event)">
When viewing the page in Chrome, the datepicker appears as expected. However, when I try to view it in Internet Explorer, all I see is an empty field. The console displays an error message saying "JQuery isn't defined." Can anyone help me understand why this is happening?
Thank you!