How to display the calendar plugin in jQuery mobile without reloading?
[![Were My Calendar is Not Fully loaded][1]][1]
<a href="#pagefour" data-transition="slideup" onclick="closeNav()">calendar</a>
<div data-role="page" data-role="main" id="pagefour" class="ui-content">
<div id="main-page-one">
<span onclick="openNav()"><i class="fa fa-bars" aria-hidden="true"></i> Calendar </span>
<div id="calendar" ></div>
</div>
</div>
<script src="assets/js/jquery.mobile-1.4.5.js"></script>
<script src='assets/js/jquery-ui.min.js'></script>
<script src='assets/js/fullcalendar.min.js'></script>
<script src="assets/js/index.js"></script>
<script>
function closeNav() {
document.getElementById("calendar").window.location.reload;// Dono how to Load The particular Calendar ID
}
</script>
[1]: http://i.stack.imgur.com/d2Ml1.png
当我点击日历&#34;功能closeNaV()&#34;我的页面用于SlideUp,是否未加载日历插件? 任何人都可以帮助我,如何写一个加载&#34; ID&#34;使用Javascript中的onClick事件。
答案 0 :(得分:0)
将您的日历加载代码放在此处
replace("*","")