[Link that close current window]

Discussion in 'Javascript' started by Arne Ballay, Jan 5, 2005.

  1. Arne Ballay

    Arne Ballay Guest

    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
    Arne Ballay, Jan 5, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    6
    Views:
    8,808
    sateeshranga
    Aug 7, 2008
  2. Iñaki Baz Castillo
    Replies:
    7
    Views:
    826
    Iñaki Baz Castillo
    Jan 12, 2010
  3. Blue®
    Replies:
    4
    Views:
    777
    Blue®
    Sep 27, 2003
  4. Walter Beierdonck

    Self.close() window without the dialog close?Yes/NO

    Walter Beierdonck, Apr 29, 2004, in forum: Javascript
    Replies:
    1
    Views:
    338
    Grant Wagner
    Apr 30, 2004
  5. Shang Wenbin

    close current window using window.close()

    Shang Wenbin, Sep 1, 2005, in forum: Javascript
    Replies:
    10
    Views:
    359
    Gérard Talbot
    Sep 2, 2005
Loading...

Share This Page