1
div(.test)内に私の角プロジェクト(http://test.comと記載)を表示する必要があります。 iframe、object、embedを使わずにdiv内の角型プロジェクトを表示することは可能ですか? .Hereは、私のコードの.ANYのヘルプをごapp.component.html
あなたが何をしたいの内側にあなたの<app-root></app-root>
を置くことができるの進歩表示div内の4つのプロジェクト(.testクラス)
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
$(document).ready(function() {
$.ajax({
url: 'http://test.com', //Pass URL here
type: "GET", //Also use GET method
success: function (data) {
$('.test').html(data);
}
});
});
</script>
</head>
<body>
<div> Div of base html</div>
<div class="test"></div>
</body>
</html>