how to stop - window.open()

D

dylanb

How can i change the following so its just a regular link & stays in
its current window?

window.open ("ShowProp.asp?ref=" + GetNodeValue(curNode, "PROPREF") +
"&ReqParty=<%= Session("SearchNoOfPeople") %>","details" +
Math.floor( Math.random()* 100000) + "_" + nodeId );
 
A

arun.baviskar

window.open ("ShowProp.asp?ref=" + GetNodeValue(curNode, "PROPREF") +
"&ReqParty=<%= Session"SearchNoOfPeople") %>", "_self");
 
L

-Lost

dylanb said:
How can i change the following so its just a regular link & stays in
its current window?

window.open ("ShowProp.asp?ref=" + GetNodeValue(curNode, "PROPREF") +
"&ReqParty=<%= Session("SearchNoOfPeople") %>","details" +
Math.floor( Math.random()* 100000) + "_" + nodeId );

<a target="_self" title="whatever" href="ShowProp.asp?ref=X&ReqParty=<%=
Session("SearchNoOfPeople") %>&details1234567890_nodeId">whatever</a>

Something along those lines...

Bear in mind, to get your "GetNodeValue()" stuff you need to write it
with JavaScript, e.g. document.write, innerHTML, or whatnot.

The rest is code written by your server's script. ASP maybe? So, as
long as what it sends to the client UA is dynamic (e.g. server-side),
you are set.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,429
Latest member
JacelynKit

Latest Threads

Top