hello

hello can anyone tell me how i can pass data to an element
in another frame?

i thought i could write

window.parent.cat2.document.getElementById("a").innerText = "text goes here"; // or a variable in place of string


my code can be seen here

http://www.freecfm.com/b/bsw2112/mother.html

the only thing that works is window.parent.cat2.document.write...
but then my entire html skeleton is gone and i won't be able to clear it

thank you

bsw2112