470,596 Members | 1,092 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,596 developers. It's quick & easy.

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

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.

Aug 29 '15 #1
1 1227
1,044 Expert 1GB
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.

Similar topics

6 posts views Thread by lukeo | last post: by
18 posts views Thread by Wladimir Borsov | last post: by
18 posts views Thread by len.hartley | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.