-1

我有 4 个按钮,它们在提交表单之外?当我单击一个按钮时,它会触发其他按钮的所有单击事件。我看到了这篇文章,将我的输入更改为按钮。它没有帮助,有什么建议吗?

我的页面:

 @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>
4

1 回答 1

0

检查您的 DOM 结构以确认 IE 没有误解它并将第一个按钮包裹在接下来的三个周围。

此外,这个问题不仅仅是 jquery 相关的。

于 2013-03-02T20:29:35.067 回答