__dopostback is not working in javascript function

yuriyneo

New Member
am calling \[code\]__dopostback\[/code\] function in javascript while closing event of browser but its not working in Chrome.the same function is working in IE can any one give me the solution.\[code\]<script type="text/javascript" language="javascript"> function doUnload() { var btnlogout = document.getElementById("ctl00_lbtn_Logout"); alert(btnlogout); __doPostBack(btnlogout, ''); } </script>\[/code\]
 
Top