discuz ie中js里面的innerHTML不起作用,该如何解决
Jun 13, 2016 am 10:02 AM
discuz ie中js里面的innerHTML不起作用
discuz x2中鲜花鸡蛋功能有一个局部刷新的功能 里面用了innerHTML进行值的嵌入 但是ie中效果显示不出来 在火狐和谷歌中都可以
------解决方案--------------------
请使用id操作
document.getElementById("id").innerHTML = "内容";
------解决方案--------------------
ie不兼容标准,支持一个id对应多个对象。
可以用getElementsByName啊

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Discuz background login problem solution revealed

What is Discuz? Definition and function introduction of Discuz

A must-have for Discuz users! Comprehensive analysis of renaming props!

What should I do if I encounter an incorrect Discuz password? Quick solution sharing!

Discuz domain name modification operation guide

Detailed explanation of Discuz registration process: allowing you to easily modify personal information

Detailed explanation of steps to modify Discuz domain name

Discuz background login failed? Teach you how to solve it easily!
