# Sending/receiving vars across frames using Javascript

**URL:** <https://forum.kirupa.com/t/sending-receiving-vars-across-frames-using-javascript/104049>\
**Category:** Uncategorized\
**Created:** [March 11, 2004, 10:21pm UTC](https://forum.kirupa.com/t/sending-receiving-vars-across-frames-using-javascript/104049 "2004-03-11T22:21:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhombusleech](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@rhombusleech](https://forum.kirupa.com/u/rhombusleech)\
**Post date:** [March 11, 2004, 10:21pm UTC](https://forum.kirupa.com/t/sending-receiving-vars-across-frames-using-javascript/104049/1 "2004-03-11T22:21:06Z")

</div>

Here’s my dilemma:

I’ve got a frameset with two frames; top and bottom. In the bottom frame I have bottom1.html with a movie on it that needs to send a variable to the top.html which is in the top frame.

Then when I load bottom2.html into the bottom frame, I need the movie on it to load the variable from top.html in the top frame.

Anyone have any suggestions? I know I need to use fscommand, but I can’t find any documentation on using frames and different html pages.

Thanks in advance,  
rhombusleech
