jquery asp.net button visibility

Posted by Pratik on Stack Overflow See other posts from Stack Overflow or by Pratik
Published on 2011-02-02T07:23:07Z Indexed on 2011/02/02 7:25 UTC
Read the original article Hit count: 267

There is some code like this :

if ( bValid ) { 
      $( this ).dialog( "close" );
$("#btnExcel_Click").show(); }

and .aspx look like :

  <form id="form1" runat="server">
                    <input id="inpHide" type="hidden" runat="server" />
                    <asp:Button ID="btnExcel" runat="server" Text="Excel" AccessKey="E" BorderWidth="0px"
                        OnClick="btnExcel_Click" ToolTip="Excel" Visible="false" />
                    </form>

`bValid` is some part of code

Why this doesnt work ? What can be done to work it out. To make button visisble ?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ASP.NET