25 October 2012
This snippet shows how to use jQuery datepicker in Drupal. Drupal already includes jQuery and jQuery UI in its core. So you just have to make sure it's loaded and then you can use it in your scripts.
Source code viewer
- drupal_add_library('system', 'ui.datepicker');
- firstDay: 1,
- });})(jQuery);', 'inline');Programming Language: PHP