經安全檢測,此網站為安全網站,請放心前往原始網址!

javascript - Get entire document HTML as string - Stack Overflow

Is there a way in JS to get the entire HTML within the html tags, as a string? document.documentElement.?? ... MS added the outerHTML and innerHTML properties some time ago. According to MDN, outerHTML is supported in Firefox 11, Chrome 0.2, Internet ...

stackoverflow.com

網址安全性掃描由 google 提供