您好,欢迎访问一九零五行业门户网

JavaScript获取当前网页源码的实例

通过 outerhtml
document.documentelement.outerhtml
通过异步请求
$.get(window.location.href,function(res){ console.log(res); });
通过jquery
$("html").html();
以上就是javascript获取当前网页源码的实例的详细内容。
其它类似信息

推荐信息