当前位置: 代码迷 >> Web前端 >> firefox中的onpropertychange代替方案
  详细解决方案

firefox中的onpropertychange代替方案

热度:162   发布时间:2013-05-02 09:39:29.0
firefox中的onpropertychange替代方案
document.getElementById('tx1').watch("innerHTML",  
       function (id, oldval, newval) {  
          console.log("foo." + id + " changed from " + oldval + " to " + newval); 
         return newval;  
}); 

?

  相关解决方案