i used text avatar jquery for dashboard profile image avatar JS. when Jquery append <img /> tag dynamicly not getting profile avatar.below is sample script
<img data-name="Steve" id='SteveID' class="profile"/>
<script>
$('#SteveID').append('<img data-name="Jhon" id="JhonId" class="profile"/>');
</script>
<script>
$('.profile').initial();
</script>