hello, i have this frameset (frameset1.html )
and from parent window (index.html), i popup that frameset1.html with this code
And the last, i want to access (change location) the frame "orderBook" (in frameset1.html) from parent with this code
but it returns undefined/error
help please, thanks
regards
maminx
Code:
<FRAMESET ROWS="55%" COLS="37%,63%" frameborder="no" framespacing="0"> <FRAME NAME="runningTrade" id="runningTrade" SRC="" scrolling="no"> <FRAMESET ROWS="33%" COLS="46%,55%"> <FRAMESET ROWS="33%,33%,35%" cols="*" frameborder="no"> <frame id="orderBook" name="orderBook" src="" scrolling="no"> <FRAME NAME="orderBook2" SRC="" scrolling="no" frameborder="1"> <FRAME NAME="OrderBook3" SRC="" scrolling="no"> </FRAMESET> <FRAMESET ROWS="10%,41%,38%,11%" cols="*"> <frame src="" name="ihsg" id="ihsg" title="ihsg" scrolling="no"/> <FRAME NAME="watchTab" SRC="" scrolling="no"> <FRAME NAME="openOrder" SRC="" scrolling="no"> <FRAME NAME="rejectedOrder" SRC="" scrolling="no" style="overflow-x:hidden"> </FRAMESET> </FRAMESET> <NOFRAMES> <BODY> <H1>Your Browser doesn't support FRAMESET</H1> </BODY> </NOFRAMES> </FRAMESET>
Code:
var objWinFrame = window.open('frameset1.html','','height=500, width=500, top=80, left=60, scrollbars=no, statusbar=no, toolbar=no, resizable=yes');
Code:
objWinFrame.frames.orderBook.location = "blabla.html";
help please, thanks
regards
maminx
Comment