Dom change listener

  • jQuery
      $(document).on('DOMSubtreeModified', 'table', function(){
          console.log('changed!!')
      })
    


  • JavaScript
      document.body.addEventListener('DOMSubtreeModified', function () {
          console.log('changed!!')
      }, false);
    

results matching ""

    No results matching ""