JavaScript手册
|
【目录】 【上一章】 【下一章】 【索引】
此参考中包含的内容
This reference is organized around the 函数ality of the JavaScript language. Sometimes you already know the name of an object or method, but don't know precisely where to look for it. This chapter contains tables of links to aid in this situation.
表 1, "Operators," is a list of all JavaScript operators, grouped by type of operator.
表 2, "Statements," is an alphabetical list of all JavaScript statements.
表 3, "Objects with their methods and properties," is an alphabetical list of all of JavaScript's predefined classes and objects. The predefined methods and properties for each object are listed.
表 4, "Methods," is an alphabetical list of all predefined methods, regardless of the object to which they belong. The second column indicates the object with which the method is associated. There are separate entries for methods of the same name used in different objects. Each method name links to the method in the indicated object.
Similarly, 表 5, "Properties," is an alphabetical list of all predefined properties, regardless of the object to which they belong. The second column indicates the object with which the property is associated.
表 6, "Global 函数s," is an alphabetical list of JavaScript's global 函数s. These are 函数s which aren't associated with any object.
表 7, "Event handlers," is an alphabetical list of all JavaScript event handlers.
Key to the versions
If there is an entry in both the Client Version and the Server Version columns for a single construct, that construct is part of the core language. Otherwise, it is defined only for the client or for the server, as indicated.
The version number indicates the versions of Netscape Navigator (Nav), LiveWire (LW), or the Netscape servers (Svr), such as Enterprise Server and FastTrack Server), for which the construct is defined.
表 1 Operators
表 2 Statements
表 3 Objects with their methods and properties
表 4 Methods
表 5 Properties
表 6 Global 函数s
表 7 Event handlers
Event handler
| Client
version
| Handler for
|
onAbort
|
Nav 3+
| Image
|
onBlur
|
Nav 3+
| Button,
Checkbox, FileUpload,
Layer, Password,
Radio, Reset,
Select, Submit,
Text, Textarea,
Window
|
onChange
|
Nav 3+
| FileUpload,
Select, Text,
Textarea
|
onClick
|
Nav 3+
| Button,
Checkbox, document,
Link, Radio,
Reset, Submit
|
onDblClick
|
Nav 4
| document,
Link
|
onDragDrop
|
Nav 4
| Window
|
onError
|
Nav 3+
| Image,
Window
|
onFocus
|
Nav 3+
| Button,
Checkbox, FileUpload,
Layer, Password,
Radio, Reset,
Select, Submit,
Text, Textarea,
Window
|
onKeyDown
|
Nav 4
| document,
Image, Link,
Textarea
|
onKeyPress
|
Nav 4
| document,
Image, Link,
Textarea
|
onKeyUp
|
Nav 4
| document,
Image, Link,
Textarea
|
onLoad
|
Nav 3+
| Image,
Layer, Window
|
onMouseDown
|
Nav 4
| Button,
document, Link
|
onMouseMove
|
Nav 4
|
|
onMouseOut
|
Nav 3+
| Layer,
Link
|
onMouseOver
|
Nav 3+
| Layer,
Link
|
onMouseUp
|
Nav 4
| Button,
document, Link
|
onMove
|
Nav 4
| Window
|
onReset
|
Nav 3+
| Form
|
onResize
|
Nav 4
| Window
|
onSelect
|
Nav 3+
| Text,
Textarea
|
onSubmit
|
Nav 3+
| Form
|
onUnload
|
Nav 3+
| Window
|
【目录】 【上一章】 【下一章】 【索引】
|