views:

195

answers:

2

Can I highlight an entire week in the standard Jquery UI date picker?

+1  A: 

You may be able to follow the suggestions in this discussion to achieve your week selection feature: http://code.google.com/p/jquery-datepicker/issues/detail?id=13

Unfortunately, though, it looks like the jQuery datepicker can't handle picking an entire week. It'll need to be custom coded.

Ricket
A: 

Here's an article that has an example of how to select an entire week with the datepicker.

$(function()
{
    $('.date-pick').datePicker({selectWeek:true,closeOnSelect:false});
});    
Joseph