誰能幫助我從和的http://dev.ther8server.comjQuery的datapicker不工作的第二次點擊
節中找到背後日期選擇器的問題,當我從日期點擊並選擇一個日期,然後再次單擊從日期選擇不彈出。我需要點擊to
或者在身體的某個地方,然後再次點擊from
以使其正常工作。我真的很難找到這個問題背後的原因。任何人都可以幫助我提出任何建議。謝謝。
此問題僅在Chrome和Safari中出現。它在Firefox中正常工作。
HTML代碼:
<li class="date-field" id="from">
<a href="#" onclick="return false;" class="calendar">opener</a>
<input type="text" value="Check in" name="date_in" value="" />
<div class="datepicker-holder"></div>
</li>
<li class="date-field" id="to">
<a href="#" onclick="return false;" class="calendar">opener</a>
<input type="text" value="Check out" name="date_out" />
<div class="datepicker-holder"></div>
</li>
進口& JS:
<script type="text/javascript" src="/assets/js/jquery-1.8.3.min.js"></script>
<script src="/assets/js/frontend/jquery-ui-1.10.2.custom.js"></script>
<script type="text/javascript" src="/assets/js/jquery.main.js"></script>
<script type="text/javascript" src="/assets/js/main.js"></script>
<script type="text/javascript" src="/assets/js/loadmask/jquery.loadmask.js"></script>
<!--[if lt IE 9]><link rel="stylesheet" type="text/css" href="/assets/css/ie.css" /><![endif]-->
<script type="text/javascript">
var jslocale = "en-AU";
var ajaxload = "";
var search_params = {"global_keywords":"","referer_page":"","keywords":"","room":false,"date_in":"","date_out":"","hotel_id":"","destination_id":"","date_in_stamp":"","date_out_stamp":"","view_type":"","trip_rating":"","star_rating":"","min_rate":"","max_rate":"","amenities":"","sort":"","all_results":"","roomCode":"","rateCode":"","bedCode":"","allStarsSelection":"","region_id":"","lang":null,"country":null,"curr":null};
</script>
你應該把相關的代碼在你的問題。 – fbynite
@fbynite - 我發佈了,謝謝。 – Kerry
SSL錯誤。跑!!! – amenadiel