I am trying to create my own image button to open the datepicker. The one generated by the widget is actually an <img> which does not have a standards onclick event. I gave my button an onclick event of:
$.datepicker.show();
$.datepicker('show');
and other possiblities. Nothing works. Can anyone give me the correct code?