This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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.
 
jQuery in Action, 2nd edition
 
subject: jQuery(" ").datepicker({ }) is not working in IE7/8