javascript - Call order with frames involved -
i have html page embedded iframe. possible reference global variable @ window.top without prefix (window.top or similar), or 1 have use full path access variable embedded frame. in quick test in google chrome not access variable @ window.top level without prefix, have sneaking suspicion has been possible earlier/in other browsers/in situations. question is: if there no variable sought name in iframe's local scope (the iframe's contentwindow), browser (some browsers?) automatically @ next higher level (the parent level window can belong frame/iframe or window.top) , return value/object? and: if there duplicate variable names @ local embedded iframe level , parent level, local level win out or can there situations the window.top version gains precedence?
if there no variable sought name in iframe's local scope (the iframe's contentwindow), browser (some browsers?) automatically @ next higher level (the parent level window can belong frame/iframe or window.top) , return value/object?
no.
Comments
Post a Comment