将 jquery datepicker 添加到 jquery Facebox 覆盖表单中...如何?

发布于 2024-08-30 00:17:28 字数 186 浏览 1 评论 0原文

Facebox 表单效果很好...但是如果我添加日期选择器则不会出现任何内容... 例如,facebox 打开一个名为 form.php 的页面...在该页面中,如果我单击输入字段,则不会出现日期选择器。如果我直接在浏览器中打开 form.php(不传递带有 Facebox 链接的页面),则 datepicker 可以工作!

有什么问题吗?

facebox form works well... but if I add datepicker nothing appear...
for example facebox open a page called form.php ...in this page if I click on a input field, datepicker doesn't appear. if i open form.php directly into the browser (without passing for the page with the link for facebox), datepicker WORKS!!!

what's the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

离不开的别离 2024-09-06 00:17:28

可能您包含的页面的 html 被注入到原始页面中,因此如果您没有将日期选择器引用包含到该页面中,它将无法工作。

Probably your included page's html is injected into the original page, so if you didn't include datepicker references into that page it won't work.

同展鸳鸯锦 2024-09-06 00:17:28

尝试此操作,但请记住日期选择器的 z-index,因为它可能需要调整才能显示在 Facebox 的顶部。

[http://www.sylv3rblade。 com/2009/12/using-jquery-datepicker-with-facebox/][1]

Try this but keep in mind your z-index for the datepicker as it may need to be adjusted to display ontop of facebox.

[http://www.sylv3rblade.com/2009/12/using-jquery-datepicker-with-facebox/][1]

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文