Hello all,

I am looking for a way to code up an exit popup. The problem I am having is a way around the alert box that pops first asking if the user would like to leave or stay on the page. I would like to show an small html popup right away. Is there a diffrent way than using onbeforeunload? I am new to javascript and just know the basics, any help would be great! Thanks so much for all the help in advanced!

It would be helpful if you provide a link to your site, or link to jsfiddle where your demo can be viewed, or provide the relevant code here so the members of this community can better assist.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.