HTML表单不在IE中提交,在Chrome中运行正常

时间:2012-05-14 11:44:02

标签: html forms internet-explorer submit

你能帮我解决一下我的表格。它不会在IE中提交。它在Chrome和FF中运行良好......我不知道问题出在哪里:S

以下是代码:

<form action="http://www.ceramictiles.com/bahamas/search-results/" method="get">
<h3>Select type:</h3> <select id="selectype" name="typeoftile">
<option value="999">All types of tiles</option>
<option value="220">Bathroom ceramic tiles</option><option value="290">Ceramic tiles for projects</option><option value="210">Ceramics outlet</option><option value="280">Facades ceramic tiles</option><option value="240">Floor ceramic tiles</option><option value="230">Kitchen ceramic tiles</option><option value="270">Outdoor ceramic tiles</option><option value="260">Porcelain tiles</option><option value="250">Wall ceramic tiles</option><option value="120">Indoor clinker</option><option value="150">Industrial clinker</option><option value="110">Outdoor clinker</option><option value="410">Glass mosaic</option><option value="440">Inox mosaic</option><option value="420">Stone mosaic</option><option value="430">Vitro mosaic</option></select><br />

<select id="selectype" name="producertype">
<option value="999"></option>
<option value="99952">Alcalagres</option><option value="999773">Aparici</option><option value="999968">Cinca</option><option value="99921414">e-Ceramica</option><option value="99921412">Ebesa</option><option value="9991089">Emigres</option><option value="99928">Exagres</option><option value="9991192">Goldcer</option><option value="99921411">GresTejo</option><option value="99946">Halcon Ceramicas</option><option value="99988">Inalco</option><option value="999580">Keope</option><option value="999405">Mosavit</option><option value="99921413">Nofer</option><option value="9991548">Revigres</option><option value="9991580">Sanindusa</option><option value="999125">Tau Ceramica</option><option value="999136">Vives</option><option value="999137">Zirconio</option></select>
<i>Categories are covering each other. E.g. Kitchen tiles also contain wall tiles and floor tiles.</i>
<h3>Select size:</h3>

<div style="float:left;padding:12px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/hor.jpg"><br /><input type='checkbox' name='formatHorizontal' value='1' /></div>
<div style="float:left;padding:12px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/ver.jpg"><br /><input type='checkbox' name='formatVertical' value='1' /></div>
<div style="float:left;padding:12px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/squ.jpg"><br /><input type='checkbox' name='formatSquare' value='1' /></div>

<div style="float:left;padding:2px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/hei.jpg"></div>
<div style="float:left;padding:2px;"><h3 style="display:inline;">></h3><input type='text' name='heightmin' size='1'>cm<br /><h3 style="display:inline;"><</h3><input type='text' name='heightmax' size='1'>cm</div>
<div style="float:left;padding:2px;"><img src="http://www.ceramictiles.com/bahamas/wp-content/themes/eceramica/images/wid.jpg"></div>
<div style="float:left;padding:2px;"><h3 style="display:inline;">></h3><input type='text' name='widthmin' size='1'>cm<br /><h3 style="display:inline;"><</h3><input type='text' name='widthmax' size='1'>cm</div>


<h3>Select color:</h3> <select id="selectype" name="coloroftile">
<option value="900">All colors</option>
<option value="9003">Beige</option><option value="9004">Black</option><option value="9005">Blue</option><option value="9008">Brown</option><option value="90014">Gold</option><option value="90013">Green</option><option value="9001">Grey</option><option value="9006">Orange</option><option value="9009">Pink</option><option value="9007">Red</option><option value="90011">Silver</option><option value="90012">Violet</option><option value="9002">White</option><option value="90010">Yellow</option></select>
<br />
<input class="highlight_input_btn fr" type="submit" value="Find" />
</form>

非常感谢!

表格位于此处:http://www.ceramictiles.com/bahamas/

2 个答案:

答案 0 :(得分:3)

多个ID。 ID必须是唯一的。 查看here

答案 1 :(得分:1)

我在Chrome,Safari和Firefox中使用的表单遇到了类似问题,但在Internet Explorer中却没有。

问题是未提交的表单嵌套到另一个表单中。 把表格从另一个中拿出来解决了我的问题。