I'm looking for a way to create an event listener to a DOM object style.display property and fire a function if the property value changes.
E.g
<p id="example_p" style="display:none;">Some text</style>
I'd like that if some JS code in the page will manipulate the
display value, a function will be executed.
Is this possible?
Thanks,
Roy