__dopostback is not working in javascript function
<p>am calling <code>__dopostback</code> function in javascript while closing event of browser but its not working in Chrome.</p>

<p>the same function is working in IE </p>

<p>can any one give me the solution.</p>

<pre><code>&lt;script type="text/javascript" language="javascript"&gt; 
function doUnload() 
{ 
 var btnlogout = document.getElementById("ctl00_lbtn_Logout"); alert(btnlogout);   
 __doPostBack(btnlogout, ''); 
} 
&lt;/script&gt;
</code></pre>
