+ Start a Discussion
Chris VogeChris Voge 

Prevent subtabs from closing

Hello,

Is there a way with javascript to prevent closing a subtab
when clicking the "X" ? 

Thanks
AmitAmit (Salesforce Developers) 
Hello,

Please refer following links more more information :

http://stackoverflow.com/questions/1565304/jquery-prevent-window-closing

http://stackoverflow.com/questions/2229942/how-to-block-users-from-closing-a-window-in-javascript

http://forums.devarticles.com/javascript-development-22/how-to-stop-browser-from-closing-using-javascript-8458.html

Thanks,

Amit Bhardwaj