Help with a little Javascript please

Discussion in 'JavaScript' started by Divisive Cottonwood, Dec 29, 2007.

  1. #1
    Basically, the code below opens up in a new browser window:

    javascript:q=(document.location.href);void(open('http://www.historynexus.net/submit.php?url='+escape(q),'','resizable,location,menubar,toolbar,scrollbars,status'));
    Code (markup):
    What I would like it to do is open up in the same window without opening up in a new browser every time it's clicked.
     
    Divisive Cottonwood, Dec 29, 2007 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put it in an anchor. :confused:
     
    MMJ, Dec 29, 2007 IP