datepicker skins
datepicker skins
Hi. On line 5 of the code below, I have chosen one of the default skins,
vader, for the datepicker. It works great but I want to use one of the other default themes. Please see
http://jqueryui.com/themeroller/ On the left, in black, chose the GALLERY tab. There are 24 skins available. When I try the skins that have one word, like
smoothness or
vader , it works great. When I choose a skin with two words, like
UI lightness , I get only a shell of the datepicker. Help?
- <!-- -------------------------------->
- <!-- Load jQuery from Google's CDN -->
- <!-- -------------------------------->
- <!-- Load jQuery UI CSS -->
- <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/ vader/jquery-ui.css" />
-
- <!-- Load jQuery JS -->
- <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
- <!-- Load jQuery UI Main JS -->
- <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
-
-
- <script type="text/javascript">
- /* jQuery ready function. Specify a function to execute when the DOM is fully loaded. */
- $(document).ready(function () {
- $("#datepicker").datepicker({
- minDate: 0,
- maxDate: '+1Y',
- showAnim: 'clip',
- changeMonth: false,
- changeYear: false,
- dateFormat: "DD, MM d, yy",
- altField: "#altDate",
- altFormat: "yy-mm-dd"
- });
- });
- </script>