請參閱網頁鏈接:http://checkmyryde.com/rent.phpjQuery UI的日期選擇器顯示在底部在移動設備
我已經使用jQuery UI的日期選擇器,它工作正常與桌面視圖。但是,如果打開移動設備中的頁面,日期選擇器位於頁面底部。這可能是什麼問題?任何想法?由於
$(document).ready(function() {
$('.date-picker').datepicker({
minDate: 0,dateFormat: 'yy-mm-dd'
});
});
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<p>Date: <input type="text" id="datepicker" class="date-picker"></p>
你能分享你的相關代碼嗎?日期選擇器的css和html。 –
@MihaiT是的.... – Vishnu