Why is document.getElementById('tableId')[removed] not working in IE8?

前端 未结 8 2090
迷失自我
迷失自我 2020-12-01 14:17

I modify document.getElementById(\'\').innerHTML with Java Script in a page. It\'s working fine in Firefox, but not IE8. Please see below for more details:

8条回答
  •  我在风中等你
    2020-12-01 14:53

    Thanks its very helpful .html()

    I was using

    document.getElementById('site'+cValue).innerHTML=tableReadyElem; //work with mozila not ie
    
    $(document.getElementById('site'+cValue)).html(tableReadyElem);//work for both
    

提交回复
热议问题