niceguymattx
MIS
Hi all,
I've done quite a bit of work with javascript in a Sharepoint environment and am trying to achieve something that I have done before, it just seems this time the exact same method isn't working!
My basic problem is in trying to refer to a parent frame's document. I've tried window.parent and window.top but the only thing I can do is refer back the iframe I'm calling from.
Its really strange, when I'm calling window.top.frames.length its telling me there's 7 frames, but will only give me any joy when I refer to frame 4 (which is the one I'm running my javascript from).
Any ideas. What I really want to do is window.top.document.getElement....etc.
Cheers
Matt
I've done quite a bit of work with javascript in a Sharepoint environment and am trying to achieve something that I have done before, it just seems this time the exact same method isn't working!
My basic problem is in trying to refer to a parent frame's document. I've tried window.parent and window.top but the only thing I can do is refer back the iframe I'm calling from.
Its really strange, when I'm calling window.top.frames.length its telling me there's 7 frames, but will only give me any joy when I refer to frame 4 (which is the one I'm running my javascript from).
Any ideas. What I really want to do is window.top.document.getElement....etc.
Cheers
Matt