General discussion

  • Creator
    Topic
  • #2117828

    Javascript variables between FRAMES

    Locked

    by mike@ihs ·

    I have a Javascript problem retreiving variables through frames. I have 2 frames, upper and lower where I initialize variables in functions. I’m trying to access the variables of the upper frame either by a call to the frame’s function (javascript:parent.upper.function() ) or directly (myVar = parent.upper.otherVar; ) and I keep getting the error “Permission Denied” to access the upper frame variables. I’m using IE (5.0) and apparently you can’t access different frame variables or functions with this version of the browser or lower. If this is true, I would really appreciate some info on how to overcome this problem !!

    Thanks!
    Mike@IHS

All Comments

Viewing 2 reply threads