I am calling focus method in my code bt it is nt working on IE8 9 when i create child window but as IE does not support focus so i am trying to manually call it but it is not working ?I have tried this but below code is working on my local but it is not working on server .....\[code\]<html><head><title></title></head><body> <a href="" onclick="OpenNewWindow(); return false;">Open the Window</a> <br><br> <a href="" onclick="FocusNewWindow(); return false;">Focus on Window</a> <script language="javascript" type="text/javascript"> var newWin = null; function OpenNewWindow() { newWin = window.open('FocusExample_Window2.html','popup','width=550, height=262, toolbar=0, resizable=false'); } function FocusNewWindow() { if (newWin != null && !newWin.closed) { newWin.focus(); } } </script></body></html>\[/code\]