javascript windows "Yes/No" asking twice?

Posted by James123 on Stack Overflow See other posts from Stack Overflow or by James123
Published on 2010-05-12T12:23:45Z Indexed on 2010/05/12 12:24 UTC
Read the original article Hit count: 239

Filed under:
|

I am using below code for javascript window "Yes/No". It is firing twice. Is there any way I can avoid this? Or use any other code?. I need this code behind.

Response.Write("<script language='javascript'> { self.close() }</script>");

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ASP.NET