Is there a way with jQuery to load Html contents from a url?
For example:
<div class="MyContent">
<html>
<head>
<title>Hello World Page</title>
</head>
<body>
Hello World
</body>
</html>
</div>
Can I replace all of the HTML above in the div with the content from a URL?
You’re looking for
.load()