isNaN function
isNaN("string") //returns true
isNaN("12") //returns false
var test = (x == null) ? x : 100;
<asp:UpdatePanel ID="UpdatePanelMemberList" runat="server" UpdateMode="Conditional">
<contenttemplate>
<asp:GridView runat="server"/>
</contenttemplate>
</asp:UpdatePanel>
<asp:HiddenField ID="H1" runat="server" />
- After page loaded in html trigger button click event
$(document).ready(function () {
var hidenv = $("#<%=H1.ClientID %>").val();
if (hidenv != 'show') return;
$("#<%=Submit.ClientID %>").trigger('click');
});