js 创建 dialog,button 示例代码
pane=document.createElement("div");
pane.setAttribute("id","diaDiv");
document.body.appendChild(pane);
var dia=new dijit.Dialog({title:"dojo dialog"},pane);
dia.show();
new dijit.form.Button({ "class": "large", label:"wokao",onClick:foo }, dojo.byId("id1"));