Here's an interesting question:
Is there any way I can manage windows by JavaScript that were not created by JavaScript? My company's goal is to create a page on the corporate website that will provide a link to a "Contact Us" page that performs 2 actions:
(1) The page will load a "dummy" page that will access a SSL page to perform the handshaking.
(2) Once loaded, the parent will redirect this page to the actual page, passing along any variables that are necessary.
The reason why we need this "dummy" page is to ensure that the variables are encrypted, as no encryption occurs on the first access to the SSL page.
I came up with a solution, using an iFrame and a pop-up generated with window.open(), but this runs the risk of a pop-up blocker preventing the pop-up from loading. The company wishes for me to use a normal href link with target='_blank'.
The problem is that I don't know how I could have my script reference this window, as I could with the var newWin = window.open() procedure.
Is this even possible? Thank you very much for your time.
Nick Ruiz
CO-OP Intern, PPL Electric Utilities
Webmaster, DealMerchant.net
http://www.dealmerchant.net