aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes jQuery( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery(" ").datepicker({ }) is not working in IE7/8" Watch "jQuery(" ").datepicker({ }) is not working in IE7/8" New topic
Author

jQuery(" ").datepicker({ }) is not working in IE7/8

Ravichandra Ravi
Greenhorn

Joined: Jun 20, 2009
Posts: 2
My code is

jQuery(function() {
jQuery("#fromDatepicker").datepicker({
changeMonth : true,
changeYear : true,
dateFormat: 'mm/dd/yy'
});

jQuery("#toDatepicker").datepicker({
changeMonth : true,
changeYear : true,
dateFormat: 'mm/dd/yy'
});
});

and input fields are

<input type="text" id="fromDatepicker" name="searchStartDate" size="20">
<input type="text" id="fromDatepicker" name="searchStartDate" size="20">



i am using

jquery-1.6.2.js
jquery-1.6.2.min.js
jquery.ui.core.js
jquery.ui.datepicker.js
jquery.ui.datepicker.css


the calender is displaying but,

when I select a date on the calendar, the date is not selecting and not entering into the text field(searchStartDate and searchStartDate ).
Please Help me how to resolve this problem.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jQuery(" ").datepicker({ }) is not working in IE7/8
 
It's not a secret anymore!