摘要: 1.document.write(”"); 输出语句2.定义常量的关键字:const,定义变量的关键字:var3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5.得到表单中元素的名称和值:document.getElementById(”表单中元素的ID号”).name(或value)6.一个小写转大写的JS: document.getElementById(”output”).value = 阅读全文
posted @ 2012-08-29 09:22 盛开的雨季 阅读(139) 评论(0) 推荐(0) 编辑