Monday, July 18, 2011

Week picker using jQuery UI Datepicker

There is my implementation of Week picker using jQuery UI Datepicker (requers jQuery UI 1.8+).







Html and Javascript are shared on JsFiddle http://jsfiddle.net/manishma/AVZJh/

4 comments:

  1. Robert GedelianDec 22, 2011 04:01 PM

    Great work! I have modified your code so that it will work on input boxes too, not just inline datepickers. It also takes the datepicker's firstDay option into account.

    http://jsfiddle.net/MqD2n/

    ReplyDelete
  2. i love this week-picker! it's the only thing like it i've been able to find.
    i really could use some help figuring out how to make it's output go into a form input field, so the week-range will be submitted with the form.

    ReplyDelete
  3. There are some small changes in the code, make it easy to put week range into form input field.

    http://jsfiddle.net/manishma/sqEwN/

    ReplyDelete