I know this can be done for regular HTML buttons, but can asp:Button be created dynamically using jQuery?
Here’s my button with an onclick that calls a server-side function:
<asp:Button ID="btnYesGPS" runat="server" Text="Yes" CssClass="formButton" onclick="btnYesGPS_Click" />
Thank you for any guidance on this.
Since it looks like you have your server side logic already and just want to call it from client side, I see 2 options:
display:none) and show it if GPS API is availablePersonally I like the first option.