亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? objects.html

?? javascript中文教程
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
<HTML>
<BODY bgcolor=white>
<P>
<center><img src="java.gif"></center><A NAME="objects"><H1>JavaScript的對象</H1></A>

<P>The following objects are available in JavaScript:
<TABLE width=70%>
<TR>
<TD>
<LI><A HREF=#anchor_object>anchor</A>
<LI><A HREF=#applet_object>applet</A>
<LI><A HREF=#button_object>button</A>
<LI><A HREF=#checkbox_object>checkbox</A>
<LI><A HREF=#Date_object>Date</A>
<LI><A HREF=#document_object>document</A>
<LI><A HREF=#form_object>form</A>
<LI><A HREF=#history_object>history</A>
<LI><A HREF=#link_object>link</A>
<LI><A HREF=#location_object>location</A>
</TD>
<TD>
<LI><A HREF=#Math_object>Math</A>
<LI><A HREF=#password_object>password</A>
<LI><A HREF=#radioButton_object>radioButton</A>
<LI><A HREF=#reset_object>reset</A>
<LI><A HREF=#selection_object>selection</A>
<LI><A HREF=#string_object>string</A>
<LI><A HREF=#submit_object>submit</A>
<LI><A HREF=#text_object>text</A>
<LI><A HREF=#textArea_object>textArea</A>
<LI><A HREF=#window_object>window</A>
</TD>
</TR>
</TABLE>

<P>
<b>NOTE:</b> Each object topic indicates whether the object is part of the client (in Navigator),
server (in LiveWire), or is common (built-in to JavaScript).
Server objects are not included in this version of the documentation.
 
<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="anchor_object"><H2>anchor object (client)</H2></A>
<P>An anchor is a piece of text identified as the target of a hypertext link.


<H3>Syntax</H3>
<P>To define an anchor, use standard HTML syntax :
<PRE>
&LTA NAME="<I>anchorName</I>"
   <I>anchorText</I>
&LT/A&GT
</PRE>
<! xxx ->
<! xxx Brendan said to explain hash (#) a bit here. ->
<! xxx ->
<P><I>NAME</I> specifies a tag that becomes an available hypertext target within the current document.
<BR><I>anchorText</I> specifies the text to display at the anchor.


<H3>Description</H3>
<P>You can reference the anchor objects in your code by using the anchors property of the document object. The anchors property is an array that contains an entry for each anchor in a document.

<P>xxx to be supplied


<H3>Properties</H3>
<LI>xxx to be supplied


<H3>Methods</H3>
<LI>xxx to be supplied


<H3>Event handlers</H3>
<P>None.


<H3>Examples</H3>
<XMP>
<A NAME="javascript_intro"><H2>Welcome to JavaScript</H2></A>
</XMP>


<H3>See also</H3>
<LI><A HREF=#link_object>link</A> object
<LI><A HREF=props.html#anchors_property>anchors</A> property


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="applet_object"><H2>applet object (client)</H2></A>
<! xxx ->
<! xxx Rand will document the basics of the applet object when implemented. ->
<! xxx ->
<P>Represents a Java applet. xxx NYI.


<H3>Syntax</H3>
<P>
xxx to be supplied


<H3>Description</H3>
<! xxx ->
<! xxx Brendan suggests that the following paragraph go in the release notes instead. ->
<! xxx ->
<P>The applet object executes applets written in Java, not JavaScript. Java applets execute only on Netscape 2.0 and HotJava, and only on 32-bit platforms, such as Windows 95, Windows NT, and Unix. They do not execute on the 16-bit Windows platforms, such as Windows 3.1.


<H3>Properties</H3>
<LI><A HREF=props.html#length_property>length</A>


<H3>Methods</H3>
<LI>xxx to be supplied


<H3>Event handlers</H3>
<LI>xxx to be supplied


<H3>Examples</H3>
<P>xxx to be supplied


<H3>See also</H3>
<LI>xxx to be supplied


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="button_object"><H2>button object (client)</H2></A>
<P>A button object is a pushbutton on an HTML form.


<H3>Syntax</H3>
<PRE>
&LTINPUT
   TYPE="button"
   NAME="<I>objectName</I>"
   VALUE="<I>buttonText</I>"
   [onClick="<I>handlerText</I>"]&GT
</PRE>
<I>NAME</I> specifies the name of the button object as a property of the enclosing form object and can be accessed using the name property.
<I>VALUE</I> specifies the label to display on the button face and can be accessed using the value property.

<H3>Description</H3>
<P>The button object is a custom button that you can use to perform an action you define.


<H3>Properties</H3>
<LI><A HREF=props.html#name_property>name</A>
<LI><A HREF=props.html#value_property>value</A>


<H3>Methods</H3>
<LI><A HREF=methods.html#click_method>click</A>


<H3>Event handlers</H3>
<LI><A HREF=events.html#onClick_event>onClick</A>


<H3>Examples</H3>
<P>A custom button does not necessarily load a new page into the client; it merely executes the script specified by the onClick event handler. In the following example, <I>myfunction()</I> is a JavaScript function.
<XMP>
<INPUT TYPE="button" VALUE="Calculate" NAME="calc_button"
   onClick="myfunction(this.form)">
</XMP>


<H3>See also</H3>
<LI><A HREF=#reset_object>reset</A> and <A HREF=#submit_object>submit</A> objects


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="checkbox_object"> <H2>checkbox object (client)</H2></A>
<P>A checkbox object is a checkbox on an HTML form. A checkbox is a toggle switch that lets the user set a value on or off.


<H3>Syntax</H3>
<P>To define a checkbox, use standard HTML syntax with the addition of the onClick event handler:
<PRE>&LTINPUT
   TYPE="checkbox"
   NAME="<I>objectName</I>"
   [CHECKED]
   [onClick="<I>handlerText</I>"]&GT
   <I>textToDisplay</I>
</PRE>


<H3>Description</H3>
<P>
Use the checked property to specify whether the checkbox is currently checked. Use the defaultChecked property to specify whether the checkbox is checked when the form is loaded.


<H3>Properties</H3>
<LI><A HREF=props.html#checked_property>checked</A>
<LI><A HREF=props.html#defaultChecked_property>defaultChecked</A>
<LI><A HREF=props.html#name_property>name</A>
<LI><A HREF=props.html#value_property>value</A>


<H3>Methods</H3>
<LI><A HREF=methods.html#click_method>click</A>


<H3>Event handlers</H3>
<LI><A HREF=events.html#onClick_event>onClick</A>


<H3>Examples</H3>
<XMP>
<B>Specify your music preferences (check all that apply):</B>
<BR><INPUT TYPE="checkbox" NAME="musicpref_rnb" CHECKED> R&B
<BR><INPUT TYPE="checkbox" NAME="musicpref_jazz" CHECKED> Jazz
<BR><INPUT TYPE="checkbox" NAME="musicpref_blues" CHECKED> Blues
<BR><INPUT TYPE="checkbox" NAME="musicpref_newage" CHECKED> New Age
</XMP>


<H3>See also</H3>
<LI>xxx to be supplied


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="Date_object"><H2>Date object (common)</H2></A>
<P>
JavaScript has a date object that enables you to work with dates and times.
JavaScript handles dates very similar to the way Java handles dates:
They have many of the same date methods, and both languages
store dates internally as the number of milliseconds since January 1, 1970 00:00:00.

<H3>Syntax</H3>
<P>To create a date object:
<PRE>
<I>varName</I> = new Date(<I>parameters</I>)
</PRE>
where <I>varName</I> is a JavaScript variable name for the date object being created;
it can be a new object or a property of an existing object.
<P>
The <I>parameters</I> for the Date constructor can be any of the following:
<UL>
<LI>Nothing: creates today's date and time.  For example,
<code>today = new Date()</code>
<LI>A string representing a date in the following form: 
"Month day, year hours:minutes:seconds".  For example,
<code>
Xmas95= new Date("December 25, 1995 13:30:00")
</code>
If you omit hours, minutes, or seconds, the value will be set to zero.

<LI>A set of integer values for year, month, and day.
For example,
<code>
Xmas95 = new Date(95,11,25)
</code>
<LI>A set of values for year, month, day, hour, minute, and seconds
For example,
<code>
Xmas95 = new Date(95,11,25,9,30,0)
</code>
</UL>
<P>
To use date methods:
<PRE>
<I>dateObj.methodName(parameters)</I>
</PRE>
<P>
Exceptions: The UTC and parse methods of date are static methods that you use as follows:
<pre>
Date.UTC(<i>params</i>)
Date.parse(<i>params</i>)
</pre>

<H3>Description</H3>
<P>JavaScript does not have a date data type. However, the date object and its methods 
enable you to work with dates and times in your applications.

<P>The date object has a large number of methods for setting, getting, and manipulating dates.


<H3>Properties</H3>
<P>None.


<H3>Methods</H3>
<LI><A HREF=methods.html#getDate_method>getDate</A>
<LI><A HREF=methods.html#getDay_method>getDay</A>
<LI><A HREF=methods.html#getHours_method>getHours</A>
<LI><A HREF=methods.html#getMinutes_method>getMinutes</A>
<LI><A HREF=methods.html#getMonth_method>getMonth</A>
<LI><A HREF=methods.html#getSeconds_method>getSeconds</A>
<LI><A HREF=methods.html#getTime_method>getTime</A>
<LI><A HREF=methods.html#getTimeZoneOffset_method>getTimeZoneoffset</A>
<LI><A HREF=methods.html#getYear_method>getYear</A>
<LI><A HREF=methods.html#parse_method>parse</A>
<LI><A HREF=methods.html#setDate_method>setDate</A>
<LI><A HREF=methods.html#setHours_method>setHours</A>
<LI><A HREF=methods.html#setMinutes_method>setMinutes</A>
<LI><A HREF=methods.html#setMonth_method>setMonth</A>
<LI><A HREF=methods.html#setSeconds_method>setSeconds</A>
<LI><A HREF=methods.html#setYear_method>setYear</A>
<LI><A HREF=methods.html#toString_method>toString</A>
<LI><A HREF=methods.html#toGMTString_method>toGMTString</A>
<LI><A HREF=methods.html#toLocaleString_method>toLocaleString</A>
<LI><A HREF=methods.html#UTC_method>UTC</A>

<H3>Event handlers</H3>
<P>
None. Built-in objects do not have event handlers.


<H3>Examples</H3>
<P>
xxx to be supplied


<H3>See also</H3>
<LI>xxx to be supplied


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="document_object"><H2>document object (client)</H2> </A>
<P>The document object contains information on the current document.


<H3>Syntax</H3>
<! xxx ->
<! xxx need info about color names. See email from Brendan ->
<! xxx ->
<P>To define a document object, use standard HTML syntax with the addition of the onLoad and onUnLoad event handlers:
<PRE>
&LTBODY
   BACKGROUND="<I>backgroundImage</I>"
   BGCOLOR="#<I>backgroundColor</I>"
   FGCOLOR="#<I>foregroundColor</I>"
   LINK="#<I>unfollowedLinkColor</I>"
   ALINK="#<I>activatedLinkColor</I>"
   VLINK="#<I>followedLinkColor</I>"
   [onLoad="<I>handlerText</I>"]
   [onUnLoad="<I>handlerText</I>"]&GT
&LT/BODY&GT
</PRE>

<P><I>BGCOLOR</I>, <I>FGCOLOR</I>, <I>LINK</I>, <I>ALINK</I>, and <I>VLINK</I> are color names or color specifications in the format "#rrggbb".

<H3>Description</H3>
<P>The &LTBODY&GT...&LT/BODY&GT tag encloses an entire document, which is defined by the current URL. The entire body of the document (all other HTML elements for the document) goes within the &LTBODY&GT...&LT/BODY&GT tag.

<P>You can reference the anchors, forms, and links of a document by using the anchors, forms, and links properties. These properties are arrays that contain an entry for each anchor, form, or link in a document.

<! xxx ->
<! xxx This next paragraph might not be needed. Is it useful? ->
<! xxx ->
<P>The document object's title property reflects the contents of &LTTITLE&GT...&LT/TITLE&GT. Other properties reflect the contents of the document; for example, bgColor reflects the background color, and lastModified reflects the time last modified. Some of the properties are reflections from HTML attributes; for example, the links property is a reflection of all the links in the document, and the forms property is a reflection of all the forms in the document.


<H3>Properties</H3>
<LI><A HREF=props.html#alinkColor_property>alinkColor</A>
<LI><A HREF=props.html#anchors_property>anchors</A>
<LI><A HREF=props.html#bgColor_property>bgColor</A>
<LI><A HREF=props.html#fgColor_property>fgColor</A>
<LI><A HREF=props.html#forms_property>forms</A>
<LI><A HREF=props.html#lastModified_property>lastModified</A>
<LI><A HREF=props.html#linkColor_property>linkColor</A>
<LI><A HREF=props.html#links_property>links</A>
<LI><A HREF=props.html#loadedDate_property>loadedDate</A>
<LI><A HREF=props.html#location_property>location</A>
<LI><A HREF=props.html#referrer_property>referrer</A>
<LI><A HREF=props.html#title_property>title</A>
<LI><A HREF=props.html#vlinkColor_property>vlinkColor</A>


<H3>Methods</H3>
<LI><A HREF=methods.html#clear_method>clear</A>
<LI><A HREF=methods.html#close_method>close</A>
<LI><A HREF=methods.html#open_method>open</A>
<LI><A HREF=methods.html#write_method>write</A>
<LI><A HREF=methods.html#writeln_method>writeln</A>


<H3>Event handlers</H3>
<LI><A HREF=events.html#onLoad_event>onLoad</A>
<LI><A HREF=events.html#onUnLoad_event>onUnLoad</A>


<H3>Examples</H3>
<P>
xxx to be supplied


<H3>See also</H3>
<LI><A HREF=#window_object>window</A> object


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区四区不卡在线| 午夜视黄欧洲亚洲| 亚洲成人av在线电影| 麻豆国产一区二区| 色婷婷狠狠综合| 亚洲精品在线观看网站| 亚洲免费在线视频| 国产成人无遮挡在线视频| 欧美日韩久久一区| 亚洲乱码国产乱码精品精小说 | 亚洲一区二区av在线| 国产91丝袜在线观看| 日韩欧美精品在线视频| 午夜不卡av在线| 色激情天天射综合网| 亚洲日韩欧美一区二区在线| 高清不卡在线观看av| 国产亚洲综合在线| 国产一区二区网址| 日韩欧美在线影院| 日韩一区精品字幕| 欧美军同video69gay| 亚洲女爱视频在线| 91网站在线播放| 国产精品久久久爽爽爽麻豆色哟哟| 久久99久久久久久久久久久| 欧美精品123区| 午夜精品久久久久| 欧美精品第1页| 日韩精品电影在线观看| 欧美精品乱人伦久久久久久| 亚洲一区二区三区视频在线| 欧美日韩一区二区三区免费看| 亚洲资源在线观看| 3d动漫精品啪啪| 久久99久久久欧美国产| 久久这里只有精品首页| 国产精品1区2区| 国产精品素人视频| 99精品视频在线播放观看| 亚洲欧洲精品一区二区三区不卡| jlzzjlzz国产精品久久| 国产精品久久久久一区二区三区共| 国产精品自产自拍| 国产欧美va欧美不卡在线| 高清国产一区二区三区| 1区2区3区欧美| 色欧美88888久久久久久影院| 亚洲在线中文字幕| 日韩三级.com| 国产v综合v亚洲欧| 亚洲激情自拍视频| 欧美一级日韩免费不卡| 国产精品资源在线| 亚洲欧美日韩国产中文在线| 欧美日韩高清影院| 精品一区二区三区在线视频| 中文字幕欧美区| 在线视频一区二区免费| 久久精品久久精品| 最新不卡av在线| 欧美一区二区私人影院日本| 激情综合亚洲精品| 亚洲精品乱码久久久久久| 91精品国产手机| 成人一区二区视频| 亚洲精品国产一区二区精华液| 欧美老女人在线| 国产成人无遮挡在线视频| 亚洲sss视频在线视频| 久久影院午夜论| 欧美亚洲一区二区三区四区| 国产一区二区影院| 亚洲一区二区三区精品在线| 26uuu欧美日本| 欧洲人成人精品| 国产激情一区二区三区| 视频在线观看一区| 国产精品美女久久福利网站| 欧美日本国产一区| k8久久久一区二区三区| 美女一区二区在线观看| 亚洲久草在线视频| 久久久久国产精品人| 666欧美在线视频| 色婷婷av一区二区三区软件| 成人在线视频首页| 久久精品国产一区二区| 亚洲成人福利片| ...av二区三区久久精品| 日韩精品一区二区三区在线播放| 色呦呦一区二区三区| 国产白丝精品91爽爽久久 | 大陆成人av片| 久久99精品久久久| 视频一区二区国产| 亚洲综合一区二区三区| 国产精品国产精品国产专区不蜜| 精品伦理精品一区| 欧美一区永久视频免费观看| 欧美这里有精品| 在线亚洲+欧美+日本专区| av电影天堂一区二区在线观看| 国产一区二区三区免费看| 裸体歌舞表演一区二区| 日日夜夜精品免费视频| 亚洲国产日产av| 亚洲欧美色图小说| 亚洲色图色小说| 亚洲日本在线观看| 亚洲老妇xxxxxx| 亚洲国产精品久久久久婷婷884| 亚洲欧美日韩在线播放| 日韩一区在线播放| 亚洲欧洲精品天堂一级| 亚洲人成人一区二区在线观看 | 一本大道综合伊人精品热热| 成人午夜在线播放| 成+人+亚洲+综合天堂| 成人激情校园春色| 93久久精品日日躁夜夜躁欧美| 成人激情文学综合网| 99久久综合狠狠综合久久| 成人av电影在线| 91福利在线看| 7777精品伊人久久久大香线蕉最新版| 欧美日韩精品高清| 日韩一区二区视频| 欧美精品一区男女天堂| 欧美激情艳妇裸体舞| 国产精品国产三级国产a| 一区二区三区四区不卡视频| 午夜不卡在线视频| 国产一区二区在线视频| 成人免费毛片app| 欧美在线不卡视频| 精品日本一线二线三线不卡| 国产三级一区二区三区| 亚洲三级电影网站| 男人操女人的视频在线观看欧美| 狠狠色丁香久久婷婷综合_中 | 欧美日韩国产免费一区二区 | 看片网站欧美日韩| 国产999精品久久| 精品视频一区二区不卡| 久久久久久久综合日本| 一区二区三区在线免费播放| 麻豆高清免费国产一区| 99精品国产视频| 欧美一区二区久久| 18成人在线观看| 日日夜夜精品视频天天综合网| 狠狠色丁香久久婷婷综合丁香| 91麻豆免费在线观看| 日韩区在线观看| 亚洲精品少妇30p| 国产一区二区精品久久| 在线观看亚洲精品视频| 精品国精品自拍自在线| 一区二区三区免费在线观看| 久久爱www久久做| 欧美网站一区二区| 中文在线资源观看网站视频免费不卡| 亚洲综合一区二区精品导航| 国产91丝袜在线播放| 欧美日本一道本在线视频| 国产精品久久国产精麻豆99网站| 日日摸夜夜添夜夜添精品视频 | 九九九久久久精品| 色八戒一区二区三区| 久久精品欧美日韩精品| 蜜臀av性久久久久蜜臀aⅴ四虎 | 精品黑人一区二区三区久久 | 中文字幕一区三区| 捆绑紧缚一区二区三区视频 | 在线日韩av片| 国产情人综合久久777777| 日本怡春院一区二区| 色素色在线综合| 最新成人av在线| 成人午夜免费av| 国产亚洲成年网址在线观看| 日韩不卡一区二区三区| 欧美综合一区二区| 亚洲三级电影全部在线观看高清| 福利一区在线观看| 久久精品欧美一区二区三区不卡 | 精品一区二区三区在线播放视频| 欧美性大战久久久| 一区二区三区日韩欧美| 播五月开心婷婷综合| 国产亚洲制服色| 国产乱理伦片在线观看夜一区| 日韩一级在线观看| 色婷婷av久久久久久久| 亚洲人123区| 色婷婷激情久久| 一区二区视频在线| 91传媒视频在线播放| 亚洲在线免费播放|