Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > [Link that close current window]

Reply
Thread Tools

[Link that close current window]

 
 
Arne Ballay
Guest
Posts: n/a
 
      01-05-2005
Hi,
I'm using JavaScript in a JSP where build up dynamik links (<a href...).
These links are shown on the current JSP page. We someone clicks the
Link another page changes (load the current URL).
Now I also want to close the current JSP. When I add
onClick="window.close();"
to one of my links the window closes, but the other page doesn't change.
Does anybody have a suggestion how to change the other page and also
close the current window?
Thanks in advance.
Arne
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
How to close a TCP socket? (TCPSocket#close doesn't close it) Iñaki Baz Castillo Ruby 7 01-12-2010 01:32 PM
close current window using window.close() Shang Wenbin Javascript 10 09-02-2005 12:16 AM
JavaMail POP3 folder.close() method close also store! Daniel Albisser Java 1 04-07-2004 03:45 PM
How to close child browser while parent close? Denon ASP .Net 1 11-14-2003 08:14 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57