Forum Moderators: open

Message Too Old, No Replies

location.replace question

         

batman1

1:32 am on Dec 4, 2003 (gmt 0)


<A HREF="javascript:location.replace('gardencontest.html')" target="iframe_name">Advance</A>

Hi Folks...I've got a database layout that produces an iframe and a link to call up a html page in the iframe if requested....among other bits of data....and at the same time I don't want the link to leave a footprint in the browser history....if I leave out the "target name" the page is loaded into the current window....with no history, but with the target info present it fails to load....

thx

dcrombie

2:34 pm on Dec 4, 2003 (gmt 0)



Surely what you need something like:

iframe_name.location.replace();

?

Not sure where the iframe sits in the document tree - document.iframe_name? or document.frames.iframe_name?