Extjs面板的Html配置无法加载脚本

时间:2017-06-01 08:58:53

标签: extjs

我正在尝试从extjs面板的html配置加载脚本。

这是我的代码。

xtype: 'panel',
html:'<div id="myId'></div> <script> here is my code that load graph on myid</script>'

但代码已加载到文件中,但不会影响myId div。 任何在extjs中实现这种事情的方法。

0 个答案:

没有答案
相关问题