This will alert all functions associated to a given element… var elem = document.getElementById(‘ELEMENT_ID_HERE’); var str = ”; for(var prop in elem) { if(typeof elem[prop] == ‘function’) str += prop + ‘\n’; } alert(str);
This will alert all functions associated to a given element… var elem = document.getElementById(‘ELEMENT_ID_HERE’); var str = ”; for(var prop in elem) { if(typeof elem[prop] == ‘function’) str += prop + ‘\n’; } alert(str);