By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,117 Members | 1,093 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,117 IT Pros & Developers. It's quick & easy.

Show pop-up(using window.open) on current page navigation by clicking any other ancho

P: 1
I need to know if its possible to show a window.open pop-up while navigating away from the current page; currently based on event.returnvalue for any change in data we IE shows a confirm popup "Are you sure you want to navigate away?".

On clicking 'OK' to the above question, i need to know if i can show another pop-up and make user stay on the same page without navigating away?

I tried few method, pop-up is showing while i click any anchor link, but if i click X mark on that window.open pop-up, i want it to stay on current page until its been answered, in my case its been navigating away.

Thanks,
Aug 29 '15 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,035
Showing pop-up's is soooo boring....

but Googling revealed: http://smallbiztrends.com/2014/10/cr...pover-ads.html

now try to build something yourself.... ;)
Aug 29 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.