1.document.write( " ");```####传统的HTML文档顺序是####```html document- >html- >(head,body)```####一个浏览器窗口中的DOM顺序是####```html window- >(navigator,screen,history,location,document)```####得到表单中元素的名称和值####```html document.getElementById( "表单中元素的ID號 ").name(或value) ```####一个小写转大写的JS####```html document.getElementById( "output ").value =document.getElementById( "input ").value.toUpperCase();```####JS中的值类型####```html String,Number,Boolean,Null,Object,Function```####JS中的字符型转换成数值型####```html parseInt(),parseFloat()```####JS中的数字转换成字符型####( " " 变量) ***####JS中的取字符串长度是####(length). ***####JS中的字符与字符相连接使用 號####. ***####.JS中的比较操作符有####==等于,!=不等于, >, >=, <. array function>
作者:贞贞姐
链接:https://www.jianshu.com/p/8932dc20ec78
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2611/viewspace-2812268/ ,如需转载,请注明出处,否则将追究法律责任。