まずHTMLファイルでHTMLファイルおよび出力から入力を得ますか望む。は、どのように私は別のHTMLファイル
第二のHTMLファイル:
は、最初のHTMLファイル内にフォーム内の入力にアクセスし、それを3回印刷します。
まずHTML
<!DOCTYPE html>
<html>
<head>
<title>First HTML</title>
</head>
<body>
<form>
input <input id="silly" type="text" placeholder="Enter something silly">
</form>
</body>
</html>
セカンドHTML
<!DOCTYPE html>
<html>
<head>
<title>Second HTML</title>
</head>
<body>
<p id="printHere">print the input here 3 times</p>
</body>
</html>
私は二HTMLで使用しようとしているjQueryの
$.get('a.html', null, function(text){
alert($(text).find('.silly'));
});
は、あなたは素晴らしいrの –