我需要在点击按钮后禁用搜索按钮。这需要附加在以下代码中。如何在点击后禁用搜索按钮
<form class="search-head" id="frmSearch" action="<%= resultString %>" method="get">
<input name="q" class="<%=cssName%> search-tags" id="tags" value="q" maxlength=50 />
<input type="hidden" name="_charset_" value="utf-8" />
<input type="hidden" id="searchLabel" name="searchLabel" value='<%=currentStyle.get("searchLabel", "")%>' />
<c:if test="${enableSpringerSearch eq true}">
<button type="button" class="change-search-engine">${springerButtonLabel}</button>
</c:if>
<button type="submit"><fmt:message key="label_button"/></button>
任何帮助将不胜感激!
那你审视自己?看看onclick事件。 –