[HELP] createAppend

[HELP] createAppend

Hi all,

I have facing problem about the "createAppend" properties/method when i calling.

I already done all the import libraries and plugi-in, why i still cannot call createAppend method?


var me = this;

    var workspaceBarElement = $("#workspace-bar");
    var createTbhFieldset = $(".createtbh-fieldset", workspaceBarElement);
    if (createTbhFieldset.html() != null)
        return;
   
    //hide and clear the popin container
    workspaceBarElement.hide();
    workspaceBarElement.html("");
   
    //render the surface
    createTbhFieldset = workspaceBarElement.createAppend('fieldset', { className: 'createtbh-fieldset' }, null);
    createTbhFieldset.createAppend('legend', null, 'Create TBH');



Pls Help!!!~~~!!