从点击触发的新页面获取点击的 html 元素

Get access to the clicked html element from the new page triggered by click

我在 page_1 中有以下 html 代码:

<article>
    <div>
        <img src="img.png">
    </div>
        <div id="text_a"> first article was clicked</div>
        <a href="page_2" ></a>
</article>
   <article>
    <div>
        <img src="img_2.png">
    </div>
        <div id="text_b"> second article was clicked</div>
        <a href="page_2"></a>
</article>

我希望在单击 href 后获取附加到被单击文章元素的文本(例如 'second article was clicked') 并打印在 page_2.

使用jQuery的load方法:

page_2:

<div id="result"></div>

jQuery代码:

$("#result").load("page_1.html #abc, .cde");