javascript close page
-
Hi , I used "close();" method to close an aspx page.Nut when it is executing one warning message "the webpage you are viewing is trying to close the window" pop ups.How to disable this pop up ? With Warm regards
-
Hi , I used "close();" method to close an aspx page.Nut when it is executing one warning message "the webpage you are viewing is trying to close the window" pop ups.How to disable this pop up ? With Warm regards
Denver Thomas wrote:
I used "close();" method to close an aspx page.
I guess you want to close the Popup window. Try something like this
var v= window.open(....);
v.close()Or
Self.close()
on the popup pge. Not in main page;Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Hi , I used "close();" method to close an aspx page.Nut when it is executing one warning message "the webpage you are viewing is trying to close the window" pop ups.How to disable this pop up ? With Warm regards
window.opener = "some text about the page"; window.close(); Now it wont ask you that prompt VB articles
-
Hi , I used "close();" method to close an aspx page.Nut when it is executing one warning message "the webpage you are viewing is trying to close the window" pop ups.How to disable this pop up ? With Warm regards
use
javascript:window.opener=self;window.close();
:-DAbhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml> -
use
javascript:window.opener=self;window.close();
:-DAbhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml>Hi bros, I want to close the calling page itself.Not the pop up page. just like "this.close()" in windows applications.I just used only Close() in one java script method.and the pop up coming is not a new page , its like a messagebox. With warm regards.
-
Hi , I used "close();" method to close an aspx page.Nut when it is executing one warning message "the webpage you are viewing is trying to close the window" pop ups.How to disable this pop up ? With Warm regards
Cannot do much about it. It is the browser's property. Earlier you could have done this by setting window.opener and then closing the window. But now, you cannot. Check http://msdn.microsoft.com/en-us/ie/aa740486.aspx link. It says the same.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD