I have a javascript function. I want to call this function when a div content changes .

however there is no onload() for div.

How do I invoke the function then ?