Menu
I try to reference an element, specificially to add on event (using addEventListener) but it keeps saying the element is “null” or “undefined” example:
var element = getElementById(‘inputbox’);
element.addEventListener(‘keyup’, someFunction, true);
what is weird is, it won’t work in the script but if I try to reference the element [I]the exact same way
any suggestions?