- Nov 8, 1999
- 5,402
- 386
- 126
OK I have two pages, one a parent page and the other a frame within the parent. Using Javascript, I want to access a javascript variable in the script of the frame page from the parent page.
I can do this in IE using document.frames[0].scriptvariable, but this doesn't work in firefox. Any clues? I have also tried document.getElementById("frm").scriptvar and document.frames[0].contentDocument.scriptvariable
I can do this in IE using document.frames[0].scriptvariable, but this doesn't work in firefox. Any clues? I have also tried document.getElementById("frm").scriptvar and document.frames[0].contentDocument.scriptvariable