http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/insertadjacenthtml.asp

解决方案 »

  1.   

    问问题的时候请先用google查查看
      

  2.   

    object.insertAdjacentHTML(sWhere, sText)在object标签内的指定位置插入HTML代码
    sWhere:插入位置
    如果object为<div>
    beforeBegin 在object标签的前端     (在<div>之前)
    afterBegin  在object标签里的最前端 (在<div>之后)
    beforeEnd  在object标签里的最后端  (在</div>之前)
    afterEnd 在object标签的后面      (在</div>之后)
    sText 要插入的HTML代码