下载此文档

javascript-js宝典学习笔记(javascript - js宝典学习笔记).doc


文档分类:IT计算机 | 页数:约35页 举报非法文档有奖
1/35
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/35 下载此文档
文档列表 文档介绍
javascript-js宝典学(javascript - js宝典学)
Each item is a little trick in JS, but it's very practical!
(")"; output statement
notes / /
3. the traditional order of HTML documents is document->html-> (head, body)
4. the order of DOM in a browser window is window-> (navigator, screen, history, location, document)
5. get the name and value of the element in the form: (the ID number of the element in the form).Name (or value)
6. a lowercase to uppercase JS: ("output").Value = ("input"). ();
The value types in : String, Number, Boolean, Null, Object, Function
The character type in is converted into numeric type: parseInt (), parseFloat ()
The numbers in are converted into character types: ("+" variables)
The length of the fetch string in is: (length)
The characters in are connected to characters using the + number
Comparison operators in : = = equal, not equal to! = >, > =, <.<=.
Declaration variables used in : VAR to declare
The structure of judgment sentence in : if (condition) {}else{}
The cyclic structure in : for ([initial expression]; [condition]; [upadte expression]) {inside loop}
The 16. loop mand is: break
Function definition in : function functionName ([parameter],...) {statement[s]}
18. when there are multiple form forms in the file, you can use [0], [1] instead
19. window: open window (), close a window: (), window itself: self
Setting of 20. status bar: = "character"";
21. popup message: ("character");
22. popup confirmation box: ();
23. pop up input prompt box: ();
24. specifies the location of the current display link: = "URL""
25. the number of all forms in the form:
26. close the output stream of the document:

javascript-js宝典学习笔记(javascript - js宝典学习笔记) 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数35
  • 收藏数0 收藏
  • 顶次数0
  • 上传人rjmy2261
  • 文件大小31 KB
  • 时间2017-11-18
最近更新