问题
I'm using this date picker: http://www.eyecon.ro/bootstrap-datepicker/
2 questions:
- Anyone know how to make it work in Internet Explorer? It just doesn't, try it.
- 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)
回答1:
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">
来源:https://stackoverflow.com/questions/13188665/datepicker-for-bootstrap-select-week-only-and-making-it-work-in-ie