I have an solution:

```
var addContent = {
...
append: function (obj, data, callBack) {
        "use strict";
        obj.append(data);
        callBack();
    }
}

```

The "addContent.append()" function add its data parameter value to its obj and call its callBack(), it is working as well!
But the "obj parameter" hasn't been in DOM then those element what found it in "data parameter" not available.

For example:

```
var to = jQuery('<div>');
addContent.append(to, '<div id="element1"></div>', function () {
    alert(jQuery('#element1').length);
});

```

This code says "0".

Have you any solution?

Thanks!