PDA

View Full Version : javascript error


!!!cyr0n_k0r
07-18-2004, 09:59 AM
here is the code that IE says is bad.



<body onload="if (is_ie || is_moz) { fetch_object('currentPost').scrollIntoView(!is_moz ); }">



This is the error IE tells me.
Line : 295
Char : 24
Error : 'null' is not null or not an object
Code : 0
URL : http://www.mydomain.com/showthread.php?p=14

Modin
07-19-2004, 12:14 AM
fetch_object('currentPost')

that must be returning a null object in IE, is there a different function you can use for IE?

!!!cyr0n_k0r
07-19-2004, 12:56 AM
I have no idea why its saying that in the first place. That is part of the default VB code.

Modin
07-19-2004, 01:45 AM
what version of IE are you using?

!!!cyr0n_k0r
07-19-2004, 03:34 AM
6.0.2800.1106