摘要:
function ver(id) { return document.getElementById(id); } //兼容性 //设置任意的标签中间的任意文本内容 function setInnerText(element,text) { if(typeof element.textContent= 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>title</title> <script> /* * * 节点: * 节点:页面中所有的内容都是节点(标签,属性,文本:文字,空格,换行) * 文档:docu 阅读全文