リモート ページを取得するには、AJAX を使用する必要があります。同一オリジン ポリシーの問題を回避するには、Web ページの配信元と同じサーバーからページを取得する必要があります。
ライブラリを使用して AJAX リクエストを処理することをお勧めします。jQuery には AJAX 関数が組み込まれていますが、他の関数も使用できます。jQueryで...
// be sure to include jQuery library in the head of your document...
// general wrapper to execute code only after all page elements have loaded
$(function(){
$.get("http://myserver/2a249ccf59e272abb8e7b8582560a45c",function(data,status){
// put the fetched data (your html form) at the end of the existing body content
// you could put it somewhere else by changing the `body` selector
$("body").append(data)
})
})