サイト全体を検索しましたが、役立つものが見つからなかったため、次のようになります。
私はこのhtmlファイルを持っています。Getexternをクリックすると、extern.htmlのコンテンツがcontentという名前のdivに配置されますが、リンクをクリックするとロードが表示され、それだけです。
test.htmlファイル
<script type="text/javascript" src="jquery-1.9.1.js"></script>
<script type="text/javascript"><!--
$(document).ready(function() {
// select all the links with class="lnk", when one of them is clicked, get its "href" value
// adds a "loading..." notification, load the content from that URL and
// place only the paragraph which is in the #cnt into the tag with id="content"
$('a.lnk').click(function() {
var url = $(this).attr('href');
$('#content').html('<h4>Loading...</h4>').load(url+ ' #cnt p');
return false;
});
});
--></script>
</head>
<body>
<h1>Web page test.html</h1>
<a href="extern.html" title="Get extern" class="lnk">Get extern</a>
<div id="content">Initial content in test.html</div>
extern.htmlファイル
<h2>Content in extern.html</h2>
<div id="cnt"><p>Some text content in extern.html</p></div>