2013-03-02 37 views
-1

我有4個按鈕,它們在提交表單之外?當我點擊一個按鈕時,它會觸發其他按鈕的所有點擊事件。我看到這篇文章,將我的輸入改爲按鈕。它沒有幫助,有什麼建議嗎?IE9問題,當我點擊一個按鈕,它會觸發其他按鈕的所有事件?

我的頁面:

@using (Html.BeginForm("ReportQuestionaire", "Question", FormMethod.Post, new { id = "SignupForm" })) 
     { 
      // code removed 
     } 

<button type="button" id="review_btn" onclick="reviewScreen();"></button> 
      <button type="button" id="SaveAccount" onclick="SaveComplete();"></button> 
      <button type="button" id="Next"></button> 
      <button type="button" id="Previous"></button> 
+0

你試過調試javascript嗎? – SergeyS 2013-03-02 20:53:13

+0

我在Chrome上使用開發人員工具查看任何錯誤..沒有 – Chaka 2013-03-02 20:55:24

回答

0

檢查DOM結構,確認IE是不是誤會它和包裝未來三年各地的第一個按鈕。

另外,這個問題不只是jQuery相關。

相關問題