How to determine when the text of an html element is changed
Posted
by Micah
on Stack Overflow
See other posts from Stack Overflow
or by Micah
Published on 2010-05-19T23:09:26Z
Indexed on
2010/05/19
23:20 UTC
Read the original article
Hit count: 136
jQuery
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!
© Stack Overflow or respective owner