Jquery mobile date picker not shown in popup field

我们两清 提交于 2019-12-20 04:07:05

问题


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.

My code is like.

<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>

Refer this fiddle http://jsfiddle.net/tZtMR/1/


回答1:


Working example: http://jsfiddle.net/Gajotres/zV3jU/

CSS:

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


来源:https://stackoverflow.com/questions/23653524/jquery-mobile-date-picker-not-shown-in-popup-field

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!