Hi all,
I know most of you are going to scold me regarding using frames, either way, this is my problem:
At some point during a function on my page I have this if statement:
if(!found){ //if the search term is not found in an array
parent.bottom.location.href = “blank.htm”
}
Using that if statement, it for some reason does not change the location of that frame. However, if I do this:
if(!found){
alert(“whatever”)
parent.bottom.location.href=”blank.htm”
}
Then, it will show the alert and upon clicking ok on the alert, the frame’s location will change to the page I wanted it to.
Is there a specific reason as to why this is happening? What is the alert() triggering that isnt being triggered with just the parent.bottom.location.href=”blank.htm” alone??
I appreciate any help in advance,
Thank you.