使用频率 | 低 |
所属模块 | Std.dom |
成员类型 | 公有成员函数 |
Object insertHTML(String type,String html);
类型 | 描述 |
String |
要插入的类型
|
String | 要插入的html内容 |
var button = Std.dom("#button");
button.insertHTML("beforeBegin","html text.....");
button.insertHTML("afterBegin","html text.....");
button.insertHTML("beforeEnd","html text.....");
button.insertHTML("afterEnd","html text.....");