-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>
你試過調試javascript嗎? – SergeyS 2013-03-02 20:53:13
我在Chrome上使用開發人員工具查看任何錯誤..沒有 – Chaka 2013-03-02 20:55:24