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

拥有回忆 提交于 2019-12-12 09:41:59

问题


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)

回答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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!