myAdBanner

2022年5月31日 星期二

解決 html5 input type date 日期欄位 限制 年 只能輸入4碼

日期欄位用手打時,如沒限制 年 要輸入6碼才會跳 月 限制後就可以打4碼後自動跳月了

<input type="date" name="Birthday" value="" placeholder="生日" id="input-Birthday" class="form-control" min="1900-01-01" max="9999-12-31"/>

2022年5月30日 星期一