Click to See Complete Forum and Search --> : Javascript problem


ashim
05-19-2006, 07:02 AM
I wrote a JavaScript code as below
alert (parent.frame2.location);
parent.frame2.location.href = "file2.htm";
alert (parent.frame2.location);

However, this code functions differently in FireFox and IE.
In FireFox the result is:
.../file0.htm
.../file0.htm
In IE the result is:
.../file0.htm
.../file2.htm

How can I make FireFox have the same result as IE?