firefox中的onpropertychange代替方案

firefox中的onpropertychange替代方案document.getElementById(tx1).watch(innerHTML,function (id, o

firefox中的onpropertychange替代方案

document.getElementById('tx1').watch("innerHTML",         function (id, oldval, newval) {            console.log("foo." + id + " changed from " + oldval + " to " + newval);          return newval;  }); 

?