I have a very simple page that’s using jquery’s datepicker. I have:
<input id=datepicker type=image src='cal.png'>
When I click on the image in FF/IE, it works as expected, but does not work in Chrome (ver. 4.1.249.1064). However if I simply change to “type=text“, it works within Chrome.
So my question is this: am I allowed to use Datepicker with “type=image“?
http://jqueryui.com/demos/datepicker/#option-buttonImageOnly
I think you want to use the buttonImageOnly option for the datepicker. You may need to create a text or hidden input to hold the value, if you are wanting to only display cal.png with out a text input for the selected date.