insertAdjacentHTML

这里说的是IHTMLElement的insertAdjacentHTML方法

原型:insertAdjacentHTML(string where,string html)

http://msdn.microsoft.com/zh-cn/vsto/hh870012

where: 指定插入html标签语句的地方,有四种值可用:
1.beforeBegin: 插入到标签开始前
2.afterBegin:插入到标签开始标记之后
3.beforeEnd:插入到标签结束标记前
4.afterEnd:插入到标签结束标记后

posted @ 2014-06-10 17:42  yuejin  阅读(223)  评论(0编辑  收藏  举报