This works.
Thank you very much rnd me.

info.html is indeed part of a frame.
Quote:
Originally Posted by rnd me
i don't see any frames, is this simply a redirect or something?
it seems like info.html should be in a frame to me.
if you are simply changing the page location, there's no way to communicate to a page that doesn't exist at the time, so top won't help.
if that's the case, use name:
Code:
onclick="window.name=23; startJavaApplet();return false;"
then you can change:
Code:
var pr = top.port; //Fails
alert("port " + pr);
to
Code:
var pr = top.name; //Fails
alert("port " + pr);
|