我在这个jsfiddle中重现错误: http://jsfiddle.net/DavidLaberge/KftG6/5/
这是我的HTML:
<table id="infoMedicament" style="width:100%;">
<tr>
<td style="width:50%">Value 1<br />
<select id="produit1" class="produit">
<option value="d02237726" >test1</option>
<option value="d02326701" >test2</option>
<option value="d02041421" >test3</option>
<option value="d02240240" >test4</option>
<option value="d00821772" >test5</option>
<option value="d02225190" >test6</option>
<option value="new">add</option>
</select>
</td>
<td style="width:50%; vertical-align:top;">Search<br />
<input type="text" id="rechercheNouveauProduitTab2" style="width:250px;" />
</td>
</tr>
</table>
它在Chrome中运行良好,但IE尝试打开弹出窗口。
有什么想法吗?
以下是我所拥有的行为的屏幕截图。我点击了<select>
答案 0 :(得分:1)
这不是你的代码问题,jsfiddle.net首先为我做了两次:)
答案 1 :(得分:0)
您的代码不完整,请尝试使用标记围绕表单输入,并采取一些措施。