<form id="form1" runat="server" onsubmit="fun('postback',event)">
<script type="text/javascript"> function fun(data, event) { if (data == "postback") { window.onbeforeunload = function () { } // window.form1.submit(); } else if (data == "notpostback") { if (aClick == "false") { ajaxCall(); alert("Logged Out"); return true; } } } </script>
<form id="form1" runat="server"> <button type="submit" class='input_submit' onClick="fun('postback')">Save</button> </form>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)