1、在html中增加内容 # htmlmedcal 要打印的内容 # "div_gouxuan" div的id # "after" 插入的位置 domConstruct.place(htmlmedcal, "div_gouxuan", "after");
dojo备忘录
本文介绍如何使用domConstruct.place方法在HTML中指定位置插入内容。通过设置插入的HTML代码、目标元素ID及插入位置来实现。
本文介绍如何使用domConstruct.place方法在HTML中指定位置插入内容。通过设置插入的HTML代码、目标元素ID及插入位置来实现。
1、在html中增加内容 # htmlmedcal 要打印的内容 # "div_gouxuan" div的id # "after" 插入的位置 domConstruct.place(htmlmedcal, "div_gouxuan", "after");

被折叠的 条评论
为什么被折叠?