I have a div that is dynamically changed, and I need to trigger a javascript function when a property of the div is changed.
Inputbox has a property named onChange. Is there something similar for divs? I need the function to trigger when values like background-color, height, top, etc. are changed.
<div id="hello" onChange="Changed()">Espinete</div>
function Changed(){alert('The div was changed');}