By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,067 Members | 954 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,067 IT Pros & Developers. It's quick & easy.

How do I allow separate frames to access code between each other?

P: 1
First post!

So I've been trying to figure out how the heck I'm gonna do this. It's been driving me up the wall this past week so I figure this website would maybe be of some help. I'm new to using JavaScript (programming languages as a whole actually) and thought I should join a community where I can maybe learn a few things :]

Basically what I need to do is utilize frames and windows to be able to make a webpage with this format:



TOP FRAME

LEFT FRAME
  • List of Items with Check Box next to them

RIGHT FRAME
  • Updatable Cart Interface with the Total of all Items at the Bottom

------------------------------------------------------------------------------------------------------------------------------

Anyways, what I did was write the code out as if it were all in one frame and copied and pasted it into to the respective frames (<body> section in the left frame, and <script> + <head> sections on the right frame).

However, this got me nowhere since the code needs to be able to access each other between frames.

So, my question is; how do you make these two frames accessible to each other? Is there a way to do it without completely changing my current code?


Thank you
Mar 18 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.