I need the 'date' input to be disabled until the 'Deadline' option is selected. I have tried the following but it is not working. Any Suggestions?
<option onselect="document.getElementById('deadline').disabled = false;">Deadline date</option>
<input id="deadline" type="date" disabled>
© 2016 Powered by mzan.com design MATCHINFO