[英]value attribute on <select> tag not selecting default option
也许我在这里误会了,但是给出了以下html:
<select value="2">
<option value="1">Something</option>
<option value="2">Something else</option>
</select>
我希望“其他”是默认选择的选项。 但是,事实并非如此。 为什么会这样,我应该怎么做?
也许我在这里误会了,但是给出了以下html:
<select value="2">
<option value="1">Something</option>
<option value="2">Something else</option>
</select>
我希望“其他”是默认选择的选项。 但是,事实并非如此。 为什么会这样,我应该怎么做?
也许我在这里误会了,但是给出了以下html:
<select value="2">
<option value="1">Something</option>
<option value="2">Something else</option>
</select>
我希望“其他”是默认选择的选项。 但是,事实并非如此。 为什么会这样,我应该怎么做?
也许我在这里误会了,但是给出了以下html:
<select value="2">
<option value="1">Something</option>
<option value="2">Something else</option>
</select>
我希望“其他”是默认选择的选项。 但是,事实并非如此。 为什么会这样,我应该怎么做?
也许我在这里误会了,但是给出了以下html:
<select value="2">
<option value="1">Something</option>
<option value="2">Something else</option>
</select>
我希望“其他”是默认选择的选项。 但是,事实并非如此。 为什么会这样,我应该怎么做?
也许我在这里误会了,但是给出了以下html:
<select value="2">
<option value="1">Something</option>
<option value="2">Something else</option>
</select>
我希望“其他”是默认选择的选项。 但是,事实并非如此。 为什么会这样,我应该怎么做?
也许我在这里误会了,但是给出了以下html:
<select value="2">
<option value="1">Something</option>
<option value="2">Something else</option>
</select>
我希望“其他”是默认选择的选项。 但是,事实并非如此。 为什么会这样,我应该怎么做?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.