Jquery移动日期选择器未在弹出域中显示 [英] Jquery mobile date picker not shown in popup field

查看:80
本文介绍了Jquery移动日期选择器未在弹出域中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 jtsage jquery移动日期选择器。我想在点击弹出窗口内的文本时显示日期选择器,但弹出窗口背面显示的日期选择器我想显示弹出窗口的日期选择器。

I used jtsage jquery mobile date picker. I want to show the date picker when click the text inside popup but the date picker shown in back side of the popup i want to show the date picker infront of the popup.

我的代码就像。

<div data-role="content">

        <a data-rel="popup" href="#datepop">POPUP</a>
        <div id="datepop" class='ui-content' data-role='popup'>
        <label for="mydate">Some Date</label>
        <input name="mydate" id="mydate" type="date" data-role="datebox" data-options='{"mode": "datebox", "useNewStyle":true}'/>
        </div>
    </div>

请参阅此小提琴
http://jsfiddle.net/tZtMR/1/

推荐答案

工作示例: http://jsfiddle.net/Gajotres/zV3jU/

.ui-datebox-container {
    z-index: 500000000 !important;
}

这篇关于Jquery移动日期选择器未在弹出域中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆