P
Paul
The problem I am having involves the sequence of events between frames in an
html page.
The Pages:
Page A has an imbedded IFrame which displays Page B.
Page A has a radio button which on the onClick event calls a function which
changes the source of the IFrame and sends a variable to the newly loaded
page. The Problem is the variable is passed to the page that was contained
in the IFrame before the new page is loaded (see code).
So what I intend is change page in frame, pass variable to new page....
What I get is pass variable to page, change page...
** Code snippets in programmatic order
*the source of the frame is changed *
// change source of IFrame
document.frames[CandyBoxFrameName].location.href=this.boxImage;
* then I wish to pass to the new page a variable
// pass variable to new page
document.frames[CandyBoxFrameName].candyArray=this.BoxContents;
* and finally call a function from the newly loaded content
// call function in new page
document.frames['boxIFrame'].showCandies();
Thank you
html page.
The Pages:
Page A has an imbedded IFrame which displays Page B.
Page A has a radio button which on the onClick event calls a function which
changes the source of the IFrame and sends a variable to the newly loaded
page. The Problem is the variable is passed to the page that was contained
in the IFrame before the new page is loaded (see code).
So what I intend is change page in frame, pass variable to new page....
What I get is pass variable to page, change page...
** Code snippets in programmatic order
*the source of the frame is changed *
// change source of IFrame
document.frames[CandyBoxFrameName].location.href=this.boxImage;
* then I wish to pass to the new page a variable
// pass variable to new page
document.frames[CandyBoxFrameName].candyArray=this.BoxContents;
* and finally call a function from the newly loaded content
// call function in new page
document.frames['boxIFrame'].showCandies();
Thank you