How to get source code of specific URL in JavaScript?

Viewed 125

I want to get source code of specific URL in JavaScript.

I can get source code of current web page with this code:

document.documentElement;

But I don't know how can I get source code of specific URL.

(I want to use documentElement anyway)

0 Answers
Related