在IE 7中,當有人點擊提交與按下回車鍵時,我的頁面上的郵政編碼搜索表單反應不同。當sumbmit被點擊時,它正常工作,當按下輸入時它不正確。
http://getridofit.com爲什麼輸入提交表單與單擊IE 7中的提交不同?
<form name="zip" action="<?php bloginfo('url'); ?>" method="get">
<input type="text" id="zipper" name="locations" size="5" maxlength="5" class="junk-input" onsubmit="return checkForm()" />
<input type="submit" value="" name="schedule" src="/wp-content/uploads/remove-my-junk.png" align="center" class="junk-button" style="background: #f67a3e url(/wp-content/uploads/remove-my-junk.png); border: none; width: 201px; height: 45px;"/>
</form>
的拉鍊搜索85718正確的結果看起來是這樣的:http://getridofit.com/l/85718/?schedule 但迫切的進入會產生這樣的結果:http://getridofit.com/l/85718/