I have a JavaScript library that updates a hidden <textarea>
HTML element with some data based on some things.
In my (JavaScript) application I'd like to know when these updates occur without having to go through the existing library code.
I was hoping there was an event for this, but apparently not.
How would I listen for changes of the textarea?
Changes can be as simple as document.getElementById("myTextarea").value = "hello";
EDIT I will be using FireFox only, since this code will only be part of a test suite I'm building.