javascript - I am trying to get current date with form select option and display next seven days on submit -
If current date is 3/11/14 and user raises on Wednesday 3/12/14, 3/19 / 14, 3/26/14, 4/2/14, 4/9/14, 4/16/14 should be printed. HTML & lt; Div class = "farm group" & gt; & Lt; Select ID = "Select" placeholder = "week's favorite day" & gt; & Lt; Option selected = "selected" & gt; & Lt; / Option & gt; & Lt; Option value = "1" & gt; Monday & lt; / Options & gt; & Lt; Option value = "2" & gt; Tuesday & lt; / Options & gt; & Lt; Option value = "3" & gt; Wednesday & lt; / Options & gt; & Lt; Option value = "4" & gt; Thursday & lt; / Options & gt; & Lt; Option value = "5" & gt; Friday & lt; / Options & gt; & Lt; Option value = "6" & gt; Saturday & lt; / Options & gt; & Lt; Option value = "7" & gt; Sunday & lt; / Options & gt; ...