页面加载后添加 dijit.Editor
各位专家,请帮我解答一下dijit.editor的疑问。
我想使用 jQuery 将 dijit.Editor 动态添加到我的页面。
我的代码是:jQuery(#foo).before("");
文本
区域已创建,但 dijit.Editor 不显示。
看来dojo只解析onLoad中的元素。
页面完全加载后是否可以动态插入 dojo 元素?
我错过了什么?
谢谢。
Hey Experts, please help me out with a dijit.Editor doubt.
I want to add a dijit.Editor dynamically to my Page using jQuery.
my code is:jQuery(#foo).before("<textarea width='500px' name='page_text2[]' dojoType='dijit.Editor' ></textarea>");
The textarea gets created, but dijit.Editor does not show.
It seems dojo only parses elements onLoad.
Is it possible to insert dojo elements on the fly, after the page is loaded completely?
i'm missing something?
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)