Tuesday, December 30, 2014

bpopup close action in button click event

  
  function fnCloseModal() {
$("#fina_qry").bPopup().close();
}



<div id="fina_qry">
<table>
<tr>
<td class="righttd">
<asp:TextBox ID="txt_cmt" runat="server" TextMode="MultiLine"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center" style="padding-right: 50px">
<br />
<asp:Button ID="btnsend" runat="server" Text="Send" Width="75px" />
<asp:Button ID="btnClose" runat="server" Text="Close" Width="100px"
OnClientClick="javascript:return fnCloseModal();" />

</td>
</tr>

</table>
</div>


No comments:

Post a Comment