Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- jQuery(document).ready(function($) {
- "use strict";
- /* change the calendar start day when date field receives foucus */
- $('#field_your_date_field_id').on('focus', function() {
- /* apply the radio button's value to the firstDay option */
- $(this).datepicker('option', 'firstDay', 1);
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement