
May 14th, 2004, 03:12 AM
|
|
|
|
Join Date: Apr 2007
Location: WI
Posts: 247
Time spent in forums: < 1 sec
Reputation Power: 2
|
|
|
innerhtml and frames
here is my situation. I have a form in on frame of a page.
this form (using javascript) calls a bunch of php pages (I have 0 control over!) and I need to use innerhtml to grab the contents of the php output and find out which one I need.
top page is 2 frames, javascript in frame 1.
second frame of the page has 8 frames inside which house the php. I need to get from that first frame to the html inside the subframes.
index.html -> info
-> main -> abc etc
inside of the info frame I get an access denied error when I try to even access
alert(top.main.abc.name);
anything I try gives an access denied.
Is this because the html in the sub frame abc is not housed on the same server? I do not see why that should make a difference.
Thanks
|