The below code is working fine for Firefox browser. But, not chrome. What is the issue in below code ?
window.onload = function()
{
document.body.onscroll = Test.callFn;
}
var Test = new function()
{
this.callFn = function()
{
console.log("Calling this function");
}
}
Thanks
overflow
property set to?