best approach to create webpart?

LabKey Support Forum (Inactive)
best approach to create webpart? Matthew Bellew  2010-10-20 16:56
Status: Closed
 
Or we could make a method LABKEY.makeId() so this would work

<script>
var id = LABKEY.makeId();

document.write("<div id='" + id + "'>");

Ext.onReady(function()
{
  someQWP.render(id);

})
</script>