There is some code like this :
if ( bValid ) {
$( this ).dialog( "close" );
$("#btnExcel").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 ?
may be its not accessible because :
var button = $('#btnExcel')[0];
alert(button);
shows : undefined !
Looking for help.