Page 1 of 1

Error: Access is denied

Posted: Tue Sep 05, 2006 10:40 pm
by JellyFish
What does this error mean? The line of code that it specified is:

Code: Select all

window.webpage.history.back();
That's all it gives me. Damn IE :x

webpage is a frame. This line of code is in a frameset defining page. Maybe you can't use history object in other frames? That's all I get. The line of code is inside a function, here it is:

Code: Select all

function go_Back()
{
	window.webpage.history.back();
	return false;
}
The error appears when this button is pressed:

Code: Select all

<a onmouseup="window.top.go_Back();"> B </a>
It's obvious on what it is I'm trying to do. I'm not sure if I'm doing it right.

All help is appreciated. Thanks

Posted: Wed Sep 06, 2006 11:46 am
by n00b Saibot
suppose you gave us the full page context.

Posted: Wed Sep 06, 2006 12:00 pm
by Chris Corbyn
Why not try it in FF and see if any warnings/errors are generated. IE sucks at error reporting.

Posted: Wed Sep 06, 2006 12:10 pm
by n00b Saibot
d11wtq wrote:IE sucks at error reporting.
more than blackhole :lol:





Hiya Chris..

Posted: Wed Sep 06, 2006 12:33 pm
by Chris Corbyn
n00b Saibot wrote:Hiya Chris..
Hello :) Welcome back!

Posted: Fri Sep 08, 2006 2:36 am
by JellyFish
Well, first I need to know if I can use the history object in deferent frames? This function is in a frameset defining page.