Answer the question
In order to leave comments, you need to log in
How to make option selection in select based on date in input in JS?
Good evening. I need pro help!
There is a field with a choice of status:
<select id="opta">
<option id="now">Now</option>
<option id="other">Other</option>
</select>
<input type="text" name="xfdate" placeholder="дд.мм.гггг" id="xfdate" value="" rel="essential">
Answer the question
In order to leave comments, you need to log in
What DatePicker.js are you talking about? Can you send a link to this script? Is it Jquery UI Datepicker ?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question