I have a page using jQuery to call ajax. Viewing a page in Chrome shows the following error in the developer console:
Uncaught TypeError: Cannot set property 'display' of undefined
So far, the same page runs in firefox 3.6.6 without any errors in the firebug console.
The error comes from a line in j-query-1.4.2 (as shown on the chrome console)
Does anyone else run into similar issues?
Basically, I use a DatePicker that appears in Modal Dailog.
Here is the code:
$(document).ready(function () {
$("#inputs input[name=dateField]").datepicker(
{
showOn: 'both',
dateFormat:'dd/mm/yy HH:II TT',
showButtonPanel: true,
maxDate: '+0D',
buttonImage:'calendar.gif',
buttonImageOnly: true,
}
);
});
source
share