(send variable to child window)
(pick up variable from parent window and drop it into the link's URL)
This might seem like a crazy way of doing things but it's totally neccasery in the project I'm working on for various reasons.
Not sure if its a variable it needs but either way it needs to be in the js somewhere in the parent and the child needs to read it within the link. Everywhere I've looked on the internet shows how to do this with forms etc but I can't make it work for a URL.
Problem isn't producing the popup as a child as I've done that and I'm using window.opener to talk to the parent from the child, etc. What it is: I can't work out how to get a variable from the parent page into a link in the child page.
If parent page has:
How do I get this into the link into the child page so it would read:
<a href="variable_name">click</a> - this link would go to index3.html as that is what is specified in the variable name in the parent page.