Comment Comment by moheeb I have used mutation observers to do exactly this. They are very simple to use. parent moheeb 9 years ago