$("#btnSubmit").on('click',function()
{
javascript:__doPostBack('ctl00$ContentPlaceHolder1$lnkButton1','');
document.getElementById('formdetails').target = '_blank'
javascript:__doPostBack('ctl00$ContentPlaceHolder1$lnkButton2','');
document.getElementById('formdetails').target = ''
});
When i click on the btnSubmit,
first it will fire lnkButton1 and will excecute some logic and store result data in to a session variable
then open a new tab and firing lnkButton2 , it will check whether the session has data then redirecting to a new page.
Issue is, some times linkButton2 firing before linkButton1 . Any idea?
Thanks in Advance
Go to the complete details ...