如何在点击事件中显示当前周内所有周的开始和结束日期

问题描述:

我正在工作一周的日历,我有两个按钮上一个和下一个。当点击下一个按钮然后需要提醒下周开始和结束日期每次点击将显示下周说明和结束日期。和以前一样按钮



< input type =buttonclass =weeknextname =value =next/>

< input type =buttonclass =previousname =value =previous/>

I'am working a week calender,i have two buttons previous and next.When click on next button then needs to alert next week starting and ending date each click will shows the next week stating and endind dates.And same like previous button

<input type="button" class="weeknext" name="" value="next" />
<input type="button" class="previous" name="" value="previous" />

使用javascript





http://stackoverflow.com/questions/8381427/get-start-date-and-end-date-of-current-week-week-从星期一开始,以及 [ ^ ]
use javascript


http://stackoverflow.com/questions/8381427/get-start-date-and-end-date-of-current-week-week-start-from-monday-and-end-with[^]