I want to have the JQuery Datepicker open when the user clicks on an image. There is no input field where the selected date appears afterwards; I\'m just going to save the e
If you are using an input field and an icon (like this example):
You can attach the datepicker to your icon (in my case inside the A tag via CSS) like this:
$("#Hasta").datepicker(); $("#Hasta_icono").click(function() { $("#Hasta").datepicker( "show" ); });