jquery datepicker onclick help

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!

以上就是jquery datepicker onclick help的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准