DotNetGnat
Programmer
Hi Guys,
I have something like this on my asp.net page...
everything works fine...i get no errors...i also checked that my browser supports focus method using window.focus
but still the popup wont come into focus...am i doing any simple syntax error...thanks in advance...
-DNG
I have something like this on my asp.net page...
Code:
Response.Write("<script>var chatWin=null; if(chatWin!=null) { if(!chatWin.closed) {chatWin.focus();} }else{ chatWin = open('" +url+ "','" +strTarget+ "','scrollbars=no,status=no,resizable=yes,width=600,height=500');}</script>");
everything works fine...i get no errors...i also checked that my browser supports focus method using window.focus
but still the popup wont come into focus...am i doing any simple syntax error...thanks in advance...
-DNG