在页面中插入标签

document.write("<div id='a' ></div>");

这样就可以在html中创建一个div节点了。而且 也可以操作它

posted @ 2016-07-29 21:38  Y_WEB  阅读(455)  评论(0编辑  收藏  举报