Hi There,
I have this strange problem on my hands.
Theres this script that I have writen, and at the moment, it works fine in IE, but I need to make it work for FireFox too...
Now what happens is when the user clicks on a link within a iFrame, the iframes content is changed[just info from a JS array] by a javascript function sitting in the parent...
In IE this works fine, the content is cleared and re-writen with no errors, however in FireFox, the whole page is reloaded in the iframe, so theres a iframe in the iframe with the initial content...
this is a snippet of the code im using:
this.navArea.open( );
this.navArea.write( this.writer );
this.navArea.close( );
where this.navArea = getElementById(myiFrame) [registering this A-OK]
And this.writer is the content to be writen...
now, I have no objections to having to write two versions of this code if necessary [a IE and FireFox version] and I am also aware that generally the .write() function causes a page refresh, but its just strange that it reloads the entire page within itself, where the iframe doesn't start with a src at all... its all dynamically generated once the page has loaded....
Any Ideas?