0

the aside elements inside the parent div will get add or remove/replace dynamically. I want to detect the change and call the method.

<div id = "hello" >
<aside class="item">
    <a href="abc"><img src="abc" title="abc" /></a>
</aside>
<aside class="item">
    <a href="abc2"><img src="abc2" title="abc2" /></a>
</aside>
<aside class="item">
    <a href="abc1"><img src="abc1" title="abc1" /></a>
</aside>
</div >

expected result: call a method on change of child elements.

TamilRoja
  • 165
  • 1
  • 1
  • 13

0 Answers0