javascript - IE9 not firing DOMCharacterDataModified event -


i have div element dynamically changed based on current state of jquery data table. example when filtered shows "showing 1 100 of 145 entries (filtered 1,064 total entries)".

based on way 1 of tables loaded 1,064 misleading while records returned 1,064 records have been divided groups see is 266, "showing 1 100 of 145 entries (filtered 266 total entries)".

the reason why 1,064 needed , not 1 group can switch between groups , filtering on group number column.

because of misleading number have domcharacterdatamodified listener modifies text in div correct number. problem code used table loads same records has ability view groups through regexp filtering.

now works perfect in chrome, domcharacterdatamodified not fired in ie9.

the listener function

function testfunct() {    debugger;    var pause = ""; } 

the div.

var doc = document.getelementbyid("tmain_info"); 

the listener.

doc.addeventlistener("domcharacterdatamodified", testfunct); 

also tried.

doc.attachevent("domcharacterdatamodified", testfunct); 

but didn't work either , caused error in chrome.

any appreciated.

it appears per microsoft lot of mutation events no longer fire in ie9 , later. if documentmode ie9 or later domcharacterdatamodified won't fire up.

i developing ie11 bho myself , have observed mutation events such domcharacterdatamodified not firing. check out link.

it appears suppose use mutation event observers instead. checkout link2 ie event technical specs

migrating mutation events mutation event observers.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -