I want to append div inside mytext div but it is updating text outside of the div
Try like this
$(function(){ var jj= $('body').append(''); $('.mytext').html('min') ; });