jquery on change value of span code example
Example: span change jquery
$(document).ready(function(){
$("#span1").on('DOMSubtreeModified',function(){
// text change handler
});
});
$(document).ready(function(){
$("#span1").on('DOMSubtreeModified',function(){
// text change handler
});
});