|
||||||||||
|
|
#1 (permalink) |
|
Noogle
![]() Join Date: Jul 2006
Location: Kolkata India
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Close Browser
We are using visual stdio 2005 to develop web page, when we want to close browser just write java script by using three script
top.close() or self.close(),parent.close() , but every time browser (both ie 6.0 and 7.0) show a popup window and ask user "do you want to close this window" can any one help me close the browser without asking the user to close or not . Our code is giving below Dim closeBrowser As String = "<script language=""javascript"">" closeBrowser = closeBrowser & "javascript:top.close()</script>" or closeBrowser = closeBrowser & "javascript:self.close()</script>" or closeBrowser = closeBrowser & "javascript Response.Write(closeBrowser) |
|
|
|
|
Sponsored Links
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Yahoo ad system attempts to close gap on Google - International Herald Tribune | News Alerts | Google in the News | 0 | 02-05-2007 04:49 PM |
| Yahoo promises to close gap on Google - Taipei Times | News Alerts | Google in the News | 0 | 01-24-2007 08:21 PM |
| Google Talk's gmail notification no way to close or hide | nim | Google Talk | 0 | 12-04-2005 08:31 AM |
| Google Stock Value at Close Friday 8/27? | intelliot | Business, Investing, Finance and Money | 0 | 08-21-2004 04:26 PM |
| Google Talk's gmail notification no way to close or hide | nim | Google Talk | 0 | 01-01-1970 11:56 AM |