function fnConfirm() { var answer = confirm("really want to close the window"); if (answer) { window.close(); } else { }
this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "xx", "<script>fnConfirm();</script>");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)