0
我的html 5驗證在i-phone上無法使用,請提出建議。 我在輸入字段中使用了必填項。 html5驗證無法在iphone上工作
<input type="text" class="form-control" id="estimated_budget" placeholder="Estimated Budget" name="estimated_budget" required = "true">
我的html 5驗證在i-phone上無法使用,請提出建議。 我在輸入字段中使用了必填項。 html5驗證無法在iphone上工作
<input type="text" class="form-control" id="estimated_budget" placeholder="Estimated Budget" name="estimated_budget" required = "true">
試試這個
<input type="text" class="form-control" id="estimated_budget" placeholder="Estimated Budget" name="estimated_budget" required = "required">
指定的是:''沒有值 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-required –
是的,但我們可以指定帶或不帶值。 –