2013-07-31 262 views
-1

我的表單未提交。它是在Photoshop中設計的,後來編碼。但是,如果我刪除<div class="form3 clear fix">,這將起作用。但是這會拋出佈局。任何幫助表示讚賞。表單未按提交按鈕提交

形式的圖片:http://postimg.org/image/j4h64gv59/

<form action="http://www.mywebsite.com/cgi-bin/cgiemail/special/hot.txt" method="post" name="form3" class="form3-form"> 
    <div class="form3 clearfix"> 
     <img class=" to_get_started_call_us_or" src="images/to_get_started_call_us_or.png" alt="To Get Started Call Us, or We’ll Call You!" width="183" height="43" title="To Get Started Call Us, or We’ll Call You!" /> 
     <img class=" line" src="images/line.png" alt="" width="132" height="2" /> 
     <input name="name" type="text" id="name" placeholder="Name" /> 
     <input name="email" type="text" id="email" placeholder="Email Address" /> 
     <input name="phone" type="text" id="phone" placeholder="Phone" /> 
     <input class="submit" type="submit" name="submit" alt="" value="" /> 
     <img class=" or_call_1-800-800-8000" src="images/or_call_1-800-800-8000.png" alt="or call 1-800-800-8000" width="165" height="44" title="or call 1-800-800-8000" /> 
     <div class="white_bar-holder"> 
      <a href="#" class=" cbbb-badge-horz"><img src="images/cbbb-badge-horz.png" alt="" width="86" height="33" /></a> 
     </div> 
    </div> 
</form> 
+0

乍一看,該表格應該可以工作。當其中一個文本框具有焦點時,是否可以通過按Enter提交表單? – ZippyV

+0

'' – MightyPork

+0

怎麼樣你可以顯示定義'.form3'的css嗎? – ZippyV

回答

0

檢查你的友情鏈接中的腳本。可能存在代碼e.preventDefault();(如果有的話)按鈕和特定<div class="form3 clear fix>內的元素阻止<form>提交。