I am trying to use Vanilla JS; to display the date and time when an html element is updated.
So for instance when the content changed within my:
<li class="active"></li>
I know jQuery has quick methods to identify via selectors, i.e.
$('li.active').bind("DOMSubtreeModified",function(){
alert('changed');
});
but i need a plain vanilla JS solution.