当选择一天时,jquery datepicker 会触发日历下的按钮事件
当日期文本框获得焦点时,日历会弹出。我需要选择的日期直接位于日历下方的按钮上。当单击这一天时,会触发日历后面的按钮事件。我可以将按钮在表单上进一步向下移动,但这对于手机来说是一个问题,并不是一个好的解决方案。我对 jquery 开发环境比较陌生,希望能得到任何解决方案。
这是按钮控件:
Search谢谢,
约翰
When the date text box gains focus, the calendar pops up. The day that I need to choose is directly over a button underneath the calendar. When the day is clicked the button event behind the calendar is fired. I could move the button further down on the form but this is an issue for phones and is not a good solution. I am relatively new to the jquery development environment and would appreciate any solution.
Here is the button control:
Search
Thanks,
John
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过几天的搜索我终于找到了解决方案。 z-index 必须添加到 datepicker css 中。
这解决了我的问题,只是想分享。
After days of searching I finally found a solution. The z-index must be added to the datepicker css.
This solved my problem and just wanted to share.