1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding up variables from frames in parent page using Javascript?

Discussion in 'HTML & JavaScript' started by OTrap, Dec 29, 2013.

  1. OTrap

    OTrap Jr. VIP Jr. VIP

    Joined:
    Jul 12, 2008
    Messages:
    2,282
    Likes Received:
    1,051
    I have a page where I track the number of subscribers in 15 different GetResponse accounts. I essentially have their built-in counter set up on a page, with one page per account's counter (I noticed a problem with including more than one counter on each page). I then frame the fifteen pages onto one page.

    Ex:
    [​IMG]

    However, it gets annoying to have to do the addition either in my head or on a calculator each time. It would be nice to have a box below these frames that just kept a tally. I assume that would take Javascript, at which I am pretty inexperienced.

    Is it possible to do this? To get the appropriate variable out of all 15 frames and add them up?

    Much appreciated in advance.
     
    Last edited: Dec 29, 2013