Line 34: | Line 34: | ||
/* Datepicker | /* Datepicker | ||
----------------------------------*/ | ----------------------------------*/ | ||
− | + | $(selector).datepick({pickerClass: 'my-picker'}); | |
</style> | </style> | ||
+ | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | ||
+ | <link rel="stylesheet" type="text/css" href="css/jquery.datepick.css"> | ||
+ | <script type="text/javascript" src="js/jquery.plugin.js"></script> | ||
+ | <script type="text/javascript" src="js/jquery.datepick.js"></script> | ||
Line 112: | Line 116: | ||
</section> | </section> | ||
+ | |||
+ | <div> | ||
+ | $(selector).datepick({minDate: new Date(2017, 12-6, 03)}); | ||
+ | $(selector).datepick({dateFormat: 'mm-dd-yyyy'}); | ||
+ | var dates = $(selector).datepick('getDate'); | ||
+ | </div> | ||
</html> | </html> | ||
{{BOKU-Vienna-footer}} | {{BOKU-Vienna-footer}} |
Revision as of 11:47, 13 July 2017