I have the following dojo codes to create a surface graphics element under a div:
....
From the dojo API documentation:
dojo.html._emptyNode(node);