开发者社区 问答 正文

JQuery的append在JavaScript里是什么?

JavaScript里有没有类似的方法?JavaScript里有没有类似的方法?
JavaScript里有没有类似的方法?JavaScript里有没有类似的方法?

展开
收起
小旋风柴进 2016-03-23 09:23:31 1760 分享 版权
1 条回答
写回答
取消 提交回答
  • jQuery: $("#append").append('
    
    123
    ');
    javascript: document.getElementById("append").innerHTML = '
    123
    ';
    
    2019-07-17 19:10:16
    赞同 展开评论