Solved

close window

Posted on 2003-10-23
3
613 Views
Last Modified: 2010-04-09
how can i close indow without dialog question - for example

the following code show dialog "The web page you are viewing is try to ...." - how can i eliminate this dialog


<form>
<input type=button value="Close Window" onClick="javascript:window.close();">
</form>

0
Comment
Question by:asi
3 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 30 total points
ID: 9608373
That is b/c it's the main window... now this is built into the browser security and you "can't" do anything about it.

There is a hack around it, but i don't think i/or anyone else should post it b/c it is in fact a hack of the browser.

you can probably find it on google pretty easy though ;)
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 10428589
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: bobbit31 {http:#9608373}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

mplungjan
EE Cleanup Volunteer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question