<div dojoType="dijit.Dialog" id="errorDialog" title="An error occured" style="display: none">
<p id="errorMessage">An unexpected error occurred</p>
<button dojoType="dijit.form.Button" type="submit" onClick="hideErrorDialog();">
OK
</button>
我可以将图像添加到dojo对话框吗?为了使它看起来像一个警告框或什么?以上是我目前的代码?添加图像(警报)到DOJO对话框
喜欢的东西