Forum Moderators: open

Message Too Old, No Replies

frameset inside IFrame

Accessing frame inside frameset which is inside iframe

         

paresh1104

6:00 pm on Jun 22, 2007 (gmt 0)

10+ Year Member



Hi,

I have requirement where I am having iframe which has source set to application which has frameset page. Now this application has code which executes some javascript which calls window.name, windows.frames[frame1] and browser throws exception for this script command saying access denied. I am not sure what this lines should be in this case.

Thanks,
Paresh

ahmedtheking

6:29 pm on Jun 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Save time: use a pop up window.

DrDoc

6:41 pm on Jun 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does the parent or the child execute the script? Are all pages on the same domain?

paresh1104

6:44 pm on Jun 22, 2007 (gmt 0)

10+ Year Member



Scripts are in child frame.

paresh1104

7:28 pm on Jun 22, 2007 (gmt 0)

10+ Year Member



Thanks you guys, I was able to resolve problem using window.parent.frames instead top.frams.