firefox通过jquery的html()方法赋值后,再调用$("#divid").html()
或者document.getElementById("divid").innerHTML
是无法获取到值的。
但是通过document.getElementById("divid").innerHTML=“aaaa”
,赋值后$("#divid").html()
或者document.getElementById("divid").innerHTML
都可以获取到值
firefox通过jquery的html()方法赋值后,再调用$("#divid").html()
或者document.getElementById("divid").innerHTML
是无法获取到值的。
但是通过document.getElementById("divid").innerHTML=“aaaa”
,赋值后$("#divid").html()
或者document.getElementById("divid").innerHTML
都可以获取到值