JQuery html() vs. innerHTML

后端 未结 7 1971
不知归路
不知归路 2020-11-28 22:08

Can I completely rely upon jQuery\'s html() method behaving identical to innerHTML? Is there any difference between innerHTML and jQue

7条回答
  •  被撕碎了的回忆
    2020-11-28 22:57

    Given the general support of .innerHTML these days, the only effective difference now is that .html() will execute code in any

提交回复
热议问题