append() ,不兼容ie8 问题解答

原本:

close.append('x'); 


修改为:

var em_txt = document.createTextNode("x");

close.appendChild(em_txt); 

猜你喜欢

转载自blog.csdn.net/m0_37400682/article/details/80004316
今日推荐