Alright well I know that I can add methods to objects and what not but is there a way I can add a method to all objects or possibly an object superclass?
Cause I would like to be able to do something like this
All elements on the page now are able to use methodA by going like this
results = element.methodA();
results2 = elementQ.methodA();
Without having to go through and add the method to each element.
Will just doing document.prototype work since its the super class of all the other elements. Or would I have to go about it some other way? I ask if document.prototype would work because I’m at school and cant really test it out here