を使用したいは私が必要な属性
<form>
<select required="" name="Furniture" id="Furniture" class="form-control input-lg" >
<option value="" disabled selected>Select Furniture</option>
</form>
を使用したいは私が必要な属性
<form>
<select required="" name="Furniture" id="Furniture" class="form-control input-lg" >
<option value="" disabled selected>Select Furniture</option>
</form>
以下のように、=""
せずに必要な属性を使用してみてください:
<select required>
<option value="">Select Furniture</option>
</select>
必須属性はブール値属性です。
存在する場合は、フォームを送信する前に入力フィールドに を入力する必要があることを指定します。
私はこれが問題だとは思わない... OPは 'input type =" submit "の代わりに' input type = "button" 'を使っていました。 –
必須はブール値属性です。その属性が存在する場合、それはrequired属性の値がtrueであることを意味し、そうでない場合はfalseです。 HTML5を使用している場合は、二重引用符と等しくないように書いてください。 試用版:
<form>
<select required name="Furniture" id="Furniture" class="form-control input-lg" >
<option value="" disabled selected>Select Furniture</option>
</form>
私はこれが問題だとは思わない... OPは 'input type =" submit "の代わりに' input type = "button" 'を使っていた。 –
どういう意味ですか? 'button'または' input' type = "submit" 'はどこですか? –
私の必要な属性が機能していないようです –
ここでは、 ' –