+ 1
how i can make valid date by js,i want make the date available in next day and not available in bast?
I have a form for booking a flight, how can I make history in the past disabled and at least date history today by js? this is my HTML code: <div class="back"> <label>back:</label> <input type="date" class="form-control" name="back1"> </div> and this is link of my code. https://code.sololearn.com/Ws7JzWQCTpXO/#html
2 Answers
+ 6
https://code.sololearn.com/WA4FzrrWNQc2/?ref=app
+ 1
but a want to make min date by get the object new Date