Datepicker not showing up on asp.net mvc2 project
Hi,
I am having a nightmare trying to configure jquery datepicker to show up in my asp.net mvc2 app. I searched google and tried a lot of things, no use. I have the following function to call the datepicker:
- jQuery(document).ready(function() {
jQuery('input').filter('.datePicker').datepicker({
showOn: 'both',
buttonImage: '../../../../MyProject/Content/Images/datepicker.png',
buttonImageOnly: false,
duration: 'normal',
showTime: false,
constrainInput: true
});
});