Reputation: 2999
jquery date picker provides lot of attributes to play with it but some how I failed to use showWeek
attribute. As per documentation...
I would like to have a separate column which can show the Week of the Year
Please help me out how can I achieve this. TIA.
Upvotes: 0
Views: 464
Reputation: 2999
@Sam / @believe You guys are correct. Even I was trying that. But the jQuery UI version which I was using (jquery-ui-1.7.3.custom.min.js
) is little old.
Downloaded the latest and stable version jquery-ui-1.8.23.custom.min.js
Now it is working like charm. Thanks for your responses.
Upvotes: 0
Reputation: 4616
With the base script, I see the week in the first column:
$("#date1").datepicker({ showWeek: true });
Upvotes: 1
Reputation: 908
Try this
$(function() {
$( "#selector" ).datepicker({
showWeek: true,
firstDay: 1
});
});
Upvotes: 1