Hacker News new | past | comments | ask | show | jobs | submit login

    var win = window.open(some_url_on_the_same_domain);
or

    var parent = window.parent;
Now, you can access global variables on either parent or win.



oh cool. In my head when I see that I just think spammy popup :) I can't recall seeing it used for a legitimate purpose. But yeah that would accomplish what you're describing.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: