a href 要素を p 要素の最後に移動しようとしています。
<div class="press-text">
<h2></h2>
<h3></h3>
<p></p>
<a class="press-file"></a>
</div>
<div class="press-text">
<h2></h2>
<h3></h3>
<p></p>
<a class="press-file"></a>
</div>
<div class="press-text">
<h2></h2>
<h3></h3>
<p></p>
<a class="press-file"></a>
</div>
私は次のjqueryを使用しています
$('.press-file').each(function(){
$(this).find('.press-text p').appendTo($(this));
しかし、何かが機能していません。
編集:私はこれをしようとしています
<p><a href="press-file></a></p>
最終的には。