I've a jQuery UI Calendar as below and it works on IE only not on Chrome:
<input type="image" src="/images/caleder.jpg" id="btnCalendar" />
<script type="text/javascript">
$(function () {
$("#btnPeriodCal").datepicker();
});
</script>
If I change type="text"
it seems to work. Could someone please help me with how to resolve the above issue. I can't use type="text"
as I need to show the image.
Thanks.