开发者

ASP.Net Postback not working in JQuery Nyromodal popup

开发者 https://www.devze.com 2022-12-13 05:32 出处:网络
I have a Default.aspx page which loads a popup using JQuery Nyromodal popup. Within the popup I havewhich needs to post开发者_StackOverflowback on clicking the button.

I have a Default.aspx page which loads a popup using JQuery Nyromodal popup. Within the popup I have which needs to post开发者_StackOverflowback on clicking the button.

But when I click on the button in the popup window, URL in main window is replaced with popup window URL and also the data in modal popup is not posting back.

Thanks


$(function() 
 {   
     $('#btn_Save').click( function(e)   
     {
          e.preventDefault();
          if (confirm('Submit'))
          {
               $.nyroModalManual({url: 'Add-Support-Staff.aspx' });
          }else
          {
                return false;
          }  
     });

});
0

精彩评论

暂无评论...
验证码 换一张
取 消