|
|
Line 124: |
Line 124: |
| | | |
| <!---TEST---> | | <!---TEST---> |
− | <body>
| + | |
− | <p><input type="text" id="datepicker" /></p>
| + | |
− | </body>
| + | |
| | | |
| <!---TEST--> | | <!---TEST--> |
Line 132: |
Line 130: |
| </section> | | </section> |
| | | |
− | <script type="text/javascript">
| |
− | /* jQuery ready function. Specify a function to execute when the DOM is fully loaded. */
| |
− | $(document).ready(
| |
− | $("#d1").show().unbind().datepicker().datepicker("show").change(function () {
| |
− | $('#d1').datepicker({onSelect: datePickerValue = $(this).val() }).hide();
| |
− | alert("You picked: " + datePickerValue);
| |
− | });
| |
− | /* This is the function that will get executed after the DOM is fully loaded */
| |
− | function () {
| |
− | $("#datepicker").datepicker({
| |
− | changeMonth: true,//this option for allowing user to select month
| |
− | changeYear: true //this option for allowing user to select from year range
| |
− | });
| |
− | }
| |
− |
| |
− | );
| |
− |
| |
− | </script>
| |
| | | |
| </html> | | </html> |
Revision as of 14:10, 24 July 2017
Notebook.
Our Notebook is still under construction. You can find our protocol for the methods here:
Protocol