detect div content change
Is it possible to detect DIV content change ?
I have a div ...
<div id="mydiv" onload="myFunc()">
However this does not work.
What is the correct way to do this ?
no. divs (or more specifically their content) are not loaded, so they have no onload event. events like onchange apply to form elements. You are better calling myFunc as a result of the function that loads the content into your div
not understood. Can you please elaborate the BLUE part more
Originally Posted by xelawho
something happens to load the content into your div, no? so when that happens, call myFunc
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)