Met document renamenode:修订历史

本页内容

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月19日 (星期五)

    • 当前之前 11:212022年8月19日 (五) 11:21Neo 讨论 贡献 1,148字节 +1,148 创建页面,内容为“{{DISPLAYTITLE:document.renameNode()}}39 = HTML DOM renameNode() 方法 = Document 对象 重新命名 p 元素: <sample title="" desc="" lang="html" hererun="1"> var p=document.getElementsByTagName("P")[0]; document.renameNode(p,null,"h1"); </sample> == 定义和用法 == renameNode() 方法重命名已有的元素节点或属性节点。 == 浏览器支持 == 目前没有主流浏览器支持 renameNo…”