|
|
|
Java script : Window.close
This archived discussion is "read only".
» Manish71mishra - Java script : window.close() - how to avoid the prompt Hiiwhen we use window.close in java script, it gives the following msg - The web page you are viewing is trying to close the window. Do you want to close the window ? I dont want this msg box to be popped up when window.close is issued. Would appreciate if any one could help please... Best wishes -- posted by Manish71mishra » filemanager - Re: Java script : window.close() - how to avoid the prompt In response to message posted by Manish71mishra:
-- posted by filemanager » ckenned - Re: Java script : window.close() - how to avoid the prompt This obviously won't work to close the main window you have open, but here's what I use to link to my applications. This allows different business groups in my company to link to my applications without having to use JavaScript. Every application I design, I also make a page called "begin.html" with the following code. begin.html then opens the appropriate page of the application.window.open('your_url','Page_Name','attributes'); if(window.history.length == 0){ -- posted by ckenned
Please follow the guidelines set forth in the Suite101 Posting Etiquette when adding to the discussion. |
|
|
|
|
|
|
|