Datepicker for Bootstrap (select Week only and making it work in IE)

AnimaSola picture AnimaSola · Nov 2, 2012 · Viewed 13k times · Source

I'm using this date picker: http://www.eyecon.ro/bootstrap-datepicker/

2 questions:

  1. Anyone know how to make it work in Internet Explorer? It just doesn't, try it.
  2. How can I configure it such that it selects entire weeks? (if a person selects a specific day in the week, the value passed is the start of the week, it would also be good if it highlights the entire week on hover)

Answer

Shalabh Aggarwal picture Shalabh Aggarwal · Nov 21, 2012

You can try https://github.com/eternicode/bootstrap-datepicker which is an improved version of datepicker by eyecon.

You might also consider using HTML5's builtin datepicker by simply using

<input type="date">