I'm developing with php and trying to work jquery's datepicker into my app. I'm trying to display a datepicker that's tied to a particular input field. I have the following code. The problem is that the first time i click on the input, nothing happens. Only when I unfocus and then reclick on it will it display the picker. How do i get it to display the datepicker on the first click?
I need to pass the input ID's through a function because i will be using a php loop to produce the datepicker inputs with different ID's.
Thanks in advance!