Сообщение от Saboth
|
Можно ли
|
Можно
<script type="text/javascript">
function Go(Val) {
document.getElementById('date').disabled=(Val==0)
document.getElementById('date1').style.display=(Val==0)? 'none': ''
}
</script>
<select name="seled" id="seled" onchange="Go(this.value)">
<option value=""></option>
<option value="0">False</option>
<option value="1">True</option>
</select>
<input name="date" id="date" type="date" value="1"/>
<input name="date1" id="date1" type="date" value="2"/>