Hi, my existing code as follows
$('#'+ContainerId).find('img').each(function(){
// ...
});
I want to crate a div element on the fly and append this existing img to this new created div element. Result must be like this which I want
<div style="text-align:center"><img src=".." /></div>