I have a class that gets created (testClass for this purpose). The class has the following method inside of it:
setExternalValue: function(val) {
this.sliderCaption.innerHTML = getPointsString(val*this.points_per_use, this.points_currency);
this.sliderValuebox.value = this.getUses();
}
How can I tie into this and listen for this method to happen? When it's completed, I would like to run a specific function. Putting a custom event inside of the setExternalValue will not work for me because I cannot edit the original js.