Question How to exit applicaiton when click button?

raysefo

Well-known member
Joined
Jul 21, 2010
Messages
207
Programming Experience
Beginner
Hi,

Is there a way to exit applicaiton (lets say close the browser or brower tab) when user clicks a button?

thanks in advance.

Best Regards
 
Hi, it's probably easiest to bind the button click event to a bit of javascript to do the trick....a quick google suggests window.top.close(); would do the trick.
 
Back
Top