In the parent window:
window.open('page.php','nameIWant','toolbar=no')
How do I get the target specified in window.open() from the new window code.
I tried to retrieve document.title, document.name and document.target, none gave me ‘nameIWant’
or is there a simple way to get a string upon opening, that works in IE8.
You don’t name the document, you name the new window. Try
window.namein the newly opened window.