I wrote a JavaScript code,
but FireFox and IE have different results.

The code is:
alert (parent.frame2.location);
parent.frame2.location.href = "file2.htm";
alert (parent.frame2.location);

In FireFox the result is:
.../file0.htm
.../file0.htm

In IE the result is:
.../file0.htm
.../file2.htm

How can I make the result in FireFox to be the same as the result in IE?
Thank you.