I build .net applications that require date entry, so I implement the Date Picker control often. Unfortunately, there is a problem when it is used on a field that is validated using a .Net validation control.
Upon clicking on a date, I get the following error:
Locate the following code in jquery-ui.js or ui.datepicker.js:
Replace it with:
This prevents the change event firing in IE.
Upon clicking on a date, I get the following error:
length is null or not an objectThis only occurs when using Internet Explorer. Currently, my only solution is to edit the source code.
Locate the following code in jquery-ui.js or ui.datepicker.js:
inst.input.trigger('change')
Replace it with:
if (!$.browser.msie){inst.input.trigger('change')}
This prevents the change event firing in IE.
Thanks : AndrewRowland
No comments:
Post a Comment