简体   繁体   中英

How to get calendar when page loads?

how to show the calendar when the page loads. like the following image.

在此输入图像描述

I am able to get the calendar on click the input button, but now i want to load the calendar when the page loads and get the value user selected.

The following is the place where i have to get the calendar load when the page loads

<table width="100%">
        <div style="text-align: center; width: 100%;">
            <div style="color: white; font-size: 14pt;">Daily Shipments</div>
        </div>
        <div style="text-align: center; width: 100%;"> Load the calendar here </div>

</table>

Please help me to get this done.

Best Regards.

把你正在使用的代码放在window.onload = function() { }来获取日历。这应该适合你。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM