开发者

add a jquery datepicker into a jquery facebox overlay form... how?

开发者 https://www.devze.com 2022-12-28 10:48 出处:网络
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

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?


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.


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]

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号