JSFiddle - React, Tailwind, and code Playground
HTML
<a href="http://foo.com/deeplink1/" class="za" title="link title"> Title to story</a>
<br>
<a class="new-link" href="/">more</a>
JavaScript
$('.new-link').attr('href', function() {
<!-- return $(this).closest('.blog-info').children('a').attr('href'); -->
return $('a').attr('href');
});
$('.deneme').text(function() {
return $('a').attr('href');
});