0
如果其他輸入類型的值與日期數據類型相同,我想禁用2次輸入類型。禁用輸入字段
<tr>
<td>Date From</td>
<td><input type="date" name="DateFrom" style="width: 235px" required></td>
//Example: the inputted value is 08/23/2016
</tr>
<tr>
<td>Date To</td>
<td><input type="date" name="DateTo" style="width: 235px" required></td>
//Example: the user will also input 08/23/2016
</tr>
<tr>
<td>Time From</td>
<td><input type="time" name="TimeFrom" style="width: 235px" ></td>
//This input field will be disabled
</tr>
<tr>
<td>Time To</td>
<td><input type="time" name="TimeTo" style="width: 235px" ></td>
//This input field will be disabled
</tr>
如何調用JavaScript文件? –
在頁面的
部分使用以下腳本標記,並更改源屬性以鏈接您自己的JavaScript文件。 –不要忘記在您的
標記中添加jQuery參考,然後再調用自己的JavaScript文件使用以下 –