为什么我不能在手风琴选定的子项中获取值。我使用的代码如下
function Alert1()
{
alert((dijit.byId("markup").selectedChildWidget.id).get('value'));
}
<div data-dojo-type="dijit/Editor" id="editor1" data-dojo-props="onChange:function(){console.log('editor1 onChange handler: ' + arguments[0])}">
<p>This instance is created from a div directly with default toolbar and plugins</p>
</div>
<button onclick="Alert1();">Answer</button>
</div>