문제

i am having difficulties trying to solve a runtime error that i get in IE7 but its working fine in IE8, it says that this.scroller is nutll or not an object for a scroller that i use.but what surprises me is that it is working on every browser. Please guys i need a solution.if i have not clarified my question please let me know.I am just looking for a reason that may cause this.

도움이 되었습니까?

해결책

have you tried checking pulling back scroller using getElementsbyID instead?

var elem = document.getElementById("scroller");
if (!elem)
{
   //do stuff
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top