1234567891011121314151617181920212223242526 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Shared Calendar in DateBox - jQuery EasyUI Demo</title>
- <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
- <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
- <link rel="stylesheet" type="text/css" href="../demo.css">
- <script type="text/javascript" src="../../jquery.min.js"></script>
- <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
- </head>
- <body>
- <h2>Shared Calendar in DateBox</h2>
- <p>Multiple datebox components can share a calendar and use it to pick dates.</p>
- <div style="margin:20px 0;"></div>
- <div class="easyui-panel" style="width:100%;max-width:400px;padding:30px 60px;">
- <div style="margin-bottom:20px">
- <input class="easyui-datebox" data-options="label:'Start Date:',labelPosition:'top',sharedCalendar:'#cc'" style="width:100%;">
- </div>
- <div style="margin-bottom:20px">
- <input class="easyui-datebox" data-options="label:'End Date:',labelPosition:'top',sharedCalendar:'#cc'" style="width:100%;">
- </div>
- </div>
- <div id="cc" class="easyui-calendar"></div>
- </body>
- </html>
|