Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Window.close() window.open()
Old 01-03-2012, 03:31 AM Window.close() window.open()
Skilled Talker

Posts: 96
Name: Joan
Trades: 0
Hello,

I was wondering if it is possible to close the current window and open a new one after a form submission?

thanks
stivens is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-03-2012, 07:26 AM Re: Window.close() window.open()
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
Using javascript, you can only close a window that was originally opened by javascript. I.e., if you open a popup window from your site, you can later close it. But you cannot close the users "main" window.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Reply     « Reply to Window.close() window.open()
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16541 seconds with 12 queries