最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Datepicker for Bootstrap (select Week only and making it work in IE) - Stack Overflow

programmeradmin3浏览0评论

I'm using this date picker: /

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)

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)
Share Improve this question edited Nov 5, 2012 at 9:40 Florent 12.4k10 gold badges50 silver badges58 bronze badges asked Nov 2, 2012 at 2:56 AnimaSolaAnimaSola 7,85614 gold badges47 silver badges67 bronze badges 3
  • works for me in IE 7-9 but has css bugs in IE7 – charlietfl Commented Nov 2, 2012 at 3:01
  • Yeah, it's fine in IE9 but has a lot of problems in prior versions. 1) CSS is screwed 2) You can't select dates (js problem maybe?) – AnimaSola Commented Nov 2, 2012 at 5:01
  • 2 How about a different bootstrap date picker, such as github./dangrossman/bootstrap-daterangepicker? – technoTarek Commented Nov 10, 2012 at 14:49
Add a ment  | 

1 Answer 1

Reset to default 6

You can try https://github./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">
发布评论

评论列表(0)

  1. 暂无评论