我想从div中加载来自外部网站的已定义类的<h3>
个元素。
我特别想要获得这些头衔。
外部网站不是我的,我可以在其HTML中更改任何内容。
这个网站的部分HTML是这样的
<div id="container">
<!-- some other divs -->
<div class="content sub">
<div class="box blog">
<h3><a href="http://www.somelink.com/page1/" title="">Title 1</a></h3>
<p>Some text here... bla bla bla...</p>
<a href="http://www.somelink.com/page1/" title="" class="read_more">read more</a>
</div>
<div class="box blog">
<h3><a href="http://www.somelink.com/page2/" title="">Title 2</a></h3>
<p>Some text here... bla bla bla...</p>
<a href="http://www.somelink.com/page2/" title="" class="read_more">read more</a>
</div>
<div class="box blog">
<h3><a href="http://www.somelink.com/page3/" title="">Title 3</a></h3>
<p>Some text here... bla bla bla...</p>
<a href="http://www.somelink.com/page3/" title="" class="read_more">read more</a>
</div>
</div>
</div>
我想在jQuery Mobile页面中加载标题 - 在其内容div中。
有办法做到这一点吗?