Reputation: 39
hey i have some code that i get Error "document.frames is undefined" in IE it work fine. not in Chrome and FF.
topAppFrame.document.frames["SlipArea"].location = target;
target = SlipArea.aspx
topAppFrame = Window → Login.aspx
any idea? thanks!
Upvotes: 2
Views: 7654
Reputation: 2698
There is not such property.
Use window.frames
instead.
window.frames["SlipArea"].src = target;
Upvotes: 2