【发布时间】:2011-03-11 17:24:00
【问题描述】:
我发现 StackOverFlow 的答案和其他资源说你可以点击一个隐藏的 ASP:Button with jQuery by
$("#<%=HiddenButton.ClientID%>").click();
或
$("#<%=HiddenButton.ClientID%>").trigger("click");
但是,除非按钮为 Visible="true"
,否则这些都不适合我这是按钮:
<asp:Button ID="loadCustomerContacts" runat="server" OnClick="loadCustomerContacts_Click" visible="false" />"
【问题讨论】: