I want to close my current window in javascript and want a prompt alert to close or stay here when window is closed by me.
i have used onbeforeunload property of body tag.
daniel36 -7 Light Poster
Troy III commented: A working code has been given to you - you need to say "THANK YOU!" and mark your thread as "Solved!" -2
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.