I have a function in a JS file in my Struts application that looks like this
$(window).bind(\'beforeunload\', function (event) { ExecuteSomeLogicHere() re