Is there any code in any language (I assume html, javascript, java) that could be in a frame (say the 2nd frame of a 2 frame html document) that can cause a known link in a different frame (say the 1st frame of a 2 frame html document) to be "pressed"?

Or is there a way from within a frame to cause a new html document to be loaded into the memory space that the html document is in that contains the FRAMESET tag?

Sorry if I'm using non-standard language to describe my problem.

***EDIT***
Or possibly cause my own link to be pressed immediately
<a href="A.html" target="_parent">

I don't think the meta refresh tag allows the target="_parent"
***EDIT***