How to determine when the text of an html element is changed
- by Micah
I have an error message like this:
<span class="errorMessage">Your input sucks!</span>
and I need to determine when it changes. the validation framework I'm using sets the text when there's an error and removes it when it's complete. I'm hoping to tap into that by watching for changes to the text property of the element using jquery. Any idea of how to go about doing this?
Thanks!