popup on same page refrencing itself

F

ferhat

Hi
My question is:
Page X have button that opens popup that has link to page X ..is it
possible?
it seems not .
thanx for help..
 
J

Joshie Surber

My question is:
Page X have button that opens popup that has link to page X ..is it
possible?

Do you control page Y? If so, Y can access X via the referer header on
the server side, or pass X as a query string to be interpereted in JS.
example:

page X:
window.open('http://example.com/pageY?pageX');

page Y:
X = location.href.search.substr(1); // returns pageX in this example
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top