[thelist] Javascript addEventListener fail

Jason Handby jason.handby at corestar.co.uk
Tue Jan 13 09:47:13 CST 2009


> Here is the problematic line of script:
> 
> th3s[i].addEventListener('click', 'changeTab('+i+')', false);
> 

The second argument to addEventListener needs to be a function, not a string.


J



More information about the thelist mailing list