jimmyguu
  1. 通过 outerHTML
    document.documentElement.outerHTML
    
  2. 通过异步请求
    $.get(window.location.href,function(res){
       console.log(res);
    });
    
  3. 通过jQuery
    $("html").html();
    

分类:

技术点:

相关文章:

  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案