I have html
<div class="save-ad-btn">
<a class="fi_make_favorite" title="Make favorite">xyz
</a>
<span class="label">Favorited</span>
</div>
and javascript
$('.save-ad-btn').find('span.label').text($(this).find('a.fi_make_favorite').attr('title'));
It works perfectly but I want whenever value of attribute attr('title') changes the html of span.label should change automatically.