Wijmo User Guide > Widgets > DatePager > Markup and Scripting |
The wijdatepager contains content, like in the following example:
Sample Markup |
Copy Code
|
---|---|
<div id="datepager" style="margin-top:20px"></div> |
You can initialize the wijdatepager with script similar to the following:
Sample Script |
Copy Code
|
---|---|
<script id="scriptInit" type="text/javascript"> $(document).ready(function () { $("#datepager").wijdatepager(); }); </script> |
The script and markup above results in the following: