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

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

?? objects.html

?? 一個經典的例子
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
<HTML>
<body background="ee.jpg">

<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>

</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" tppabs="http://www.webjx.com#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" tppabs="http://www.webjx.com#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" tppabs="http://www.webjx.com#name_property">name</A>
<LI><A HREF="props.html#value_property" tppabs="http://www.webjx.com#value_property">value</A>


<H3>Methods</H3>
<LI><A HREF="methods.html#click_method" tppabs="http://www.webjx.com#click_method">click</A>


<H3>Event handlers</H3>
<LI><A HREF="events.html#onClick_event" tppabs="http://www.webjx.com#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" tppabs="http://www.webjx.com#checked_property">checked</A>
<LI><A HREF="props.html#defaultChecked_property" tppabs="http://www.webjx.com#defaultChecked_property">defaultChecked</A>
<LI><A HREF="props.html#name_property" tppabs="http://www.webjx.com#name_property">name</A>
<LI><A HREF="props.html#value_property" tppabs="http://www.webjx.com#value_property">value</A>


<H3>Methods</H3>
<LI><A HREF="methods.html#click_method" tppabs="http://www.webjx.com#click_method">click</A>


<H3>Event handlers</H3>
<LI><A HREF="events.html#onClick_event" tppabs="http://www.webjx.com#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" tppabs="http://www.webjx.com#getDate_method">getDate</A>
<LI><A HREF="methods.html#getDay_method" tppabs="http://www.webjx.com#getDay_method">getDay</A>
<LI><A HREF="methods.html#getHours_method" tppabs="http://www.webjx.com#getHours_method">getHours</A>
<LI><A HREF="methods.html#getMinutes_method" tppabs="http://www.webjx.com#getMinutes_method">getMinutes</A>
<LI><A HREF="methods.html#getMonth_method" tppabs="http://www.webjx.com#getMonth_method">getMonth</A>
<LI><A HREF="methods.html#getSeconds_method" tppabs="http://www.webjx.com#getSeconds_method">getSeconds</A>
<LI><A HREF="methods.html#getTime_method" tppabs="http://www.webjx.com#getTime_method">getTime</A>
<LI><A HREF="methods.html#getTimeZoneOffset_method" tppabs="http://www.webjx.com#getTimeZoneOffset_method">getTimeZoneoffset</A>
<LI><A HREF="methods.html#getYear_method" tppabs="http://www.webjx.com#getYear_method">getYear</A>
<LI><A HREF="methods.html#parse_method" tppabs="http://www.webjx.com#parse_method">parse</A>
<LI><A HREF="methods.html#setDate_method" tppabs="http://www.webjx.com#setDate_method">setDate</A>
<LI><A HREF="methods.html#setHours_method" tppabs="http://www.webjx.com#setHours_method">setHours</A>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产ts人妖一区二区| 国产日韩欧美激情| 婷婷久久综合九色综合绿巨人| 99re热视频这里只精品| 国产女人18水真多18精品一级做| 国产成人av一区二区| 中文一区二区完整视频在线观看| 97久久精品人人做人人爽50路| 亚洲免费看黄网站| 欧美精品亚洲一区二区在线播放| 男人的j进女人的j一区| 2020日本不卡一区二区视频| 成人在线视频首页| 亚洲黄色在线视频| 日韩欧美的一区二区| 久久99精品国产.久久久久久| 久久久蜜臀国产一区二区| 成人免费观看视频| 一区二区三区国产精品| 56国语精品自产拍在线观看| 美女免费视频一区| 亚洲素人一区二区| 欧美电影免费观看完整版| 大白屁股一区二区视频| 亚洲最新在线观看| 国产亚洲一区字幕| 欧美日韩在线精品一区二区三区激情| 久久99九九99精品| 国内精品第一页| 亚洲国产成人在线| 在线不卡的av| 99国产精品久久久久| 久久99久久99小草精品免视看| 自拍偷自拍亚洲精品播放| 欧美一级日韩免费不卡| 成人精品视频网站| 奇米综合一区二区三区精品视频| 国产精品毛片a∨一区二区三区| 欧美日韩国产精品成人| 国产91丝袜在线18| 日本不卡1234视频| 亚洲精品中文字幕在线观看| 久久久久久久电影| 日韩亚洲欧美中文三级| 色综合色狠狠综合色| 精品一区二区成人精品| 亚洲va欧美va天堂v国产综合| 国产精品久久久久毛片软件| 精品免费视频一区二区| 欧美日韩一区二区三区在线| 99久久99久久精品免费观看| 激情五月激情综合网| 亚洲国产人成综合网站| 国产精品不卡一区二区三区| 亚洲精品一区二区三区精华液| 欧美午夜精品电影| 99久久国产综合色|国产精品| 国产一区二区三区黄视频 | 国产一级精品在线| 日韩va欧美va亚洲va久久| 亚洲日本在线视频观看| 国产高清在线精品| 日韩精品一级中文字幕精品视频免费观看| 亚洲欧美怡红院| 欧美激情综合五月色丁香小说| 欧美大尺度电影在线| 制服丝袜在线91| 欧美精品免费视频| 欧美日韩在线三区| 欧美日本一区二区在线观看| 在线一区二区三区四区五区| 99r国产精品| 91在线一区二区| 成人黄色在线看| 波多野结衣91| kk眼镜猥琐国模调教系列一区二区 | 久久精品国产一区二区| 麻豆精品久久久| 日韩黄色片在线观看| 日日摸夜夜添夜夜添国产精品| 视频一区二区三区入口| 午夜国产精品一区| 蜜臀久久久久久久| 黄一区二区三区| 国产成人在线电影| 国产福利一区二区三区视频在线| 国产一区二区三区在线观看精品| 狠狠v欧美v日韩v亚洲ⅴ| 国产精品一品二品| av色综合久久天堂av综合| 色综合久久久久久久| 91亚洲永久精品| 欧美日韩1234| 欧美精品一区男女天堂| 久久久久9999亚洲精品| 亚洲欧洲国产日韩| 亚洲一区二区影院| 久久99精品久久只有精品| 欧美日韩精品免费观看视频| 欧美三级三级三级爽爽爽| 日韩欧美亚洲一区二区| 久久精品人人做人人综合| 日韩一区欧美一区| 亚洲成a人片综合在线| 美女视频免费一区| 懂色一区二区三区免费观看| 91福利在线观看| 精品少妇一区二区三区免费观看| 国产精品无遮挡| 视频一区二区三区中文字幕| 国产盗摄一区二区三区| 欧美亚洲高清一区二区三区不卡| 日韩午夜精品视频| 国产精品丝袜久久久久久app| 亚洲一区二区三区四区五区中文| 久久国产精品72免费观看| 成人福利视频网站| 欧美另类变人与禽xxxxx| 久久久亚洲午夜电影| 夜夜夜精品看看| 国产黑丝在线一区二区三区| 欧美吻胸吃奶大尺度电影| 久久久久久久久久久久久久久99 | 国产在线不卡一区| 91激情五月电影| 久久久精品人体av艺术| 午夜一区二区三区视频| 国产成人av电影在线| 欧美一区三区二区| 亚洲欧美日韩国产综合在线| 精品一区二区在线观看| 色婷婷av一区二区三区之一色屋| 日韩欧美一级二级| 一片黄亚洲嫩模| 成人av网站大全| 欧美大黄免费观看| 亚洲国产精品久久艾草纯爱| 丁香婷婷综合色啪| 欧美电视剧免费观看| 一区二区三区国产| 99久久精品国产观看| 日本一区二区三区电影| 美女视频黄 久久| 欧美军同video69gay| 亚洲人成在线观看一区二区| 国产精品亚洲第一| 日韩精品专区在线| 日韩av网站在线观看| 91国在线观看| 亚洲靠逼com| 成人爱爱电影网址| 国产欧美一区在线| 经典三级一区二区| 日韩免费观看高清完整版在线观看| 一区二区三区日本| 色呦呦国产精品| 综合在线观看色| 99久久婷婷国产| 1000精品久久久久久久久| 国产成人av电影在线| 国产亚洲欧洲997久久综合| 久久99精品久久久久久国产越南| 日韩视频永久免费| 美女mm1313爽爽久久久蜜臀| 日韩一区二区在线观看| 五月婷婷激情综合网| 欧美日韩一区二区欧美激情| 亚洲国产美国国产综合一区二区| 色天天综合色天天久久| 一区二区在线观看av| 91国产免费观看| 亚洲一区二区三区小说| 欧美少妇一区二区| 亚洲一区二区三区自拍| 91精品国产美女浴室洗澡无遮挡| 午夜精品福利一区二区三区av | 91在线国内视频| 亚洲三级小视频| 国产精品妹子av| 成人久久视频在线观看| 亚洲免费高清视频在线| 色婷婷av一区二区三区大白胸 | 成人av影视在线观看| 亚洲欧洲一区二区三区| 欧美午夜片在线看| 麻豆国产精品官网| 欧美激情一区在线| 91小视频在线| 亚洲1区2区3区4区| 亚洲精品在线一区二区| 国产成人免费在线| 亚洲自拍偷拍麻豆| 日韩欧美中文字幕公布| 国产成人亚洲综合a∨猫咪| 国产精品成人一区二区三区夜夜夜 | 天天免费综合色| 国产午夜精品在线观看| 色一区在线观看| 美女视频黄久久| 综合久久国产九一剧情麻豆|