ques-6sPTFZ24

Search A2Z 24

Question : How to set start week from Monday in jquery datepicker

Currently, my datapicker calendar start weeks from Sunday, I would like it starts weeks from Monday, how to do??

asked July 8, 2015

1 Answers

Dispalying 1 to 1 of 1 |
$( ".selector" ).datepicker({ firstDay: 1 });

For inline reference:
Sunday : 0
Monday : 1
Tuesday : 2
Wednesday : 3
Thursday : 4
Friday : 5
Saturday : 6

jQuery UI Reference; see the link for a slightly more detailed explanation.
See comments (0) | Comment
Answered 2 Years ago
Dispalying 1 to 1 of 1 |

Write your Answer write code <pre class="brush: xml">---code---</pre>

Login as a member to access answering block !! click-here
loading...

Reveal Modal Goodness

This is a default modal in all its glory, but any of the styles here can easily be changed in the CSS.

This is just a simple modal with the default styles, but any type of content can live in here. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi quis sem vel enim eleifend tristique. Etiam tincidunt faucibus pharetra.

×