I am trying to execute a function right after i append a HTML element i've try a lot of things and nothing works, here is the source
$(doc).find("#"+parent.substring(1)).append(childStr)
$('[load]').each(function() {
$(this).load(function(){
loadmdl($(this).attr('id'));
})
});
I know here are a lot of question similars but the answers of that questions doesn't help me. I really need an advice. Thanks!