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

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

?? objects.html

?? javascript中文教程
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
   VALUE="<I>buttonText</I>"
   [onClick="<I>handlerText</I>"]&GT
</PRE>
<I>VALUE</I> specifies the text to display on the button face and can be accessed using the value property.


<H3>Description</H3>
<P>A reset button resets all elements in a form to their defaults.


<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>The following example displays a text object containing "CA". If the user types a different state abbreviation in the text object and then clicks the Clear Form button, the original value of "CA" is restored.
<XMP>
<B>State: </B><INPUT TYPE="text" NAME="state" VALUE="CA" SIZE="2">
<P><INPUT TYPE="reset" VALUE="Clear Form">
</XMP>


<H3>See also</H3>
<LI><A HREF=#button_object>button</A> and <A HREF=#submit_object>submit</A> objects


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="selection_object"><H2>selection object (client)</H2></A>
<! xxx ->
<! xxx Brendan wonders if this should be "select object", to match the syntax. ->
<! xxx Note that link and radioButton have similar inconsistencies. ->
<! xxx ->
<P>A selection object is a selection list or scrolling list on an HTML form. A selection list lets the user choose one item from a list. A scrolling list lets the user choose one or more items from a list.


<H3>Syntax</H3>
<P>To define a selection object, use standard HTML syntax with the addition of the onBlur, onChange, and onFocus event handlers:
<PRE>
&LTSELECT
   NAME="<I>objectName</I>"
   [SIZE="<I>value</I>"]
   [MULTIPLE]
   [onBlur="<I>handlerText</I>"]
   [onChange="<I>handlerText</I>"]
   [onFocus="<I>handlerText</I>"]&GT
   &LTOPTION [SELECTED]&GT <I>textToDisplay</I> [ ... &LTOPTION&GT <I>textToDisplay</I>]
&LT/SELECT&GT
</PRE>

<P><I>SIZE</I> specifies the number of options visible when the form is displayed.


<H3>Description</H3>
<P>You can reference the options of a selection object in your code by using the options property. The options property is an array that contains an entry for each option in a selection object. Each option has the properties listed below.

<P>The options on selection objects can be updated dynamically. xxx NYI.


<H3>Properties</H3>
<! xxx ->
<! xxx This needs to be thought through. In PROPS.HTML, the options properties say ->
<! xxx they apply to selection object. Need to improve. ->
<! xxx ->
<P>The selection object has the following properties:
<LI><A HREF=props.html#options_property>options</A>
<LI><A HREF=props.html#selectedIndex_property>selectedIndex</A>
<P>The options property has the following properties:
<LI><A HREF=props.html#defaultSelected_property>defaultSelected</A>
<LI><A HREF=props.html#index_property>index</A>
<LI><A HREF=props.html#selected_property>selected</A>
<LI><A HREF=props.html#text_property>text</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#onBlur_event>onBlur</A>
<LI><A HREF=events.html#onChange_event>onChange</A>
<LI><A HREF=events.html#onFocus_event>onFocus</A>


<H3>Examples</H3>
<P>The following example displays a selection list.
<XMP>
Choose the music type for your free CD:
<SELECT NAME="music_type_single">
   <OPTION SELECTED> R&B <OPTION> Jazz <OPTION> Blues <OPTION> New Age</SELECT>
<P>Choose the music types for your free CDs:
<BR><SELECT NAME="music_type_multi" MULTIPLE>
   <OPTION SELECTED> R&B <OPTION> Jazz <OPTION> Blues <OPTION> New Age</SELECT>
</XMP>


<H3>See also</H3>
<LI><A HREF=#radioButton_object>radioButton</A> object
<LI><A HREF=props.html#options_property>options</A> property

<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="string_object"><H2>string object (common)</H2></A>
<P>A string object consists of a series of characters.


<H3>Syntax</H3>
<PRE><I>stringName</I>.<I>property</I>|<I>method</I></PRE>
<I>stringName</I> is the name of a string variable.
<BR><I>property</I> is one of the properties listed below.
<BR><I>method</I> is one of the methods listed below.


<H3>Description</H3>
<P>A string can be represented as a literal enclosed by single or double quotes; for example, "Netscape" or 'Netscape'.


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


<H3>Methods</H3>
<LI><A HREF=methods.html#anchor_method>anchor</A>
<LI><A HREF=methods.html#big_method>big</A>
<LI><A HREF=methods.html#blink_method>blink</A>
<LI><A HREF=methods.html#bold_method>bold</A>
<LI><A HREF=methods.html#charAt_method>charAt</A>
<LI><A HREF=methods.html#fixed_method>fixed</A>
<LI><A HREF=methods.html#fontcolor_method>fontcolor</A>
<LI><A HREF=methods.html#fontsize_method>fontsize</A>
<LI><A HREF=methods.html#indexOf_method>indexOf</A>
<LI><A HREF=methods.html#italics_method>italics</A>
<LI><A HREF=methods.html#lastIndexOf_method>lastIndexOf</A>
<LI><A HREF=methods.html#link_method>link</A>
<LI><A HREF=methods.html#small_method>small</A>
<LI><A HREF=methods.html#strike_method>strike</A>
<LI><A HREF=methods.html#sub_method>sub</A>
<LI><A HREF=methods.html#substring_method>substring</A>
<LI><A HREF=methods.html#sup_method>sup</A>
<LI><A HREF=methods.html#toLowerCase_method>toLowerCase</A>
<LI><A HREF=methods.html#toUpperCase_method>toUpperCase</A>


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


<H3>Examples</H3>
<P>The following statement creates a string variable.
<XMP>
var last_name = "Schaefer"
</XMP>

<P><TT>last_name.length</TT> is 8.
<BR><TT>last_name.toUpperCase()</TT> is "SCHAEFER".
<BR><TT>last_name.toLowerCase()</TT> is "schaefer".


<H3>See also</H3>
<LI><A HREF=#text_object>text</A> and <A HREF=#textarea_object>textArea</A> objects


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


<H3>Syntax</H3>
<P>To define a submit button, use standard HTML syntax with the addition of the onClick event handler:
<PRE>
&LTINPUT
   TYPE="submit"
   NAME="<I>objectName</I>"
   VALUE="<I>buttonText</I>"
   [onClick="<I>handlerText</I>"]&GT
</PRE>
<I>VALUE</I> specifies the text to display on the button face and can be accessed using the value property.


<H3>Description</H3>
<P>A submit button causes a form to be submitted.

<P>Clicking a submit button submits a form to the program specified by the form's action property. This action always loads a new page into the client; it may be the same as the current page, if the action so specifies or is not specified.


<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>
<XMP>
<INPUT TYPE="submit" NAME="submit_button" VALUE="Done">
</XMP>


<H3>See also</H3>
<LI><A HREF=#reset_object>reset</A> and <A HREF=#button_object>button</A> objects


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="text_object"><H2>text object (client)</H2></A>
<P>A text object is a text input field on an HTML form. A text field lets the user enter a word, phrase, or series of numbers.


<H3>Syntax</H3>
<P>To define a text object, use standard HTML syntax with the addition of the onBlur, on Change, onFocus, and onSelect event handlers:
<PRE>
&LTINPUT
   TYPE="text"
   NAME="<I>objectName</I>"
   VALUE="<I>textValue</I>"
   SIZE=<I>integer</I>
   [onBlur="<I>handlerText</I>"]
   [onChange="<I>handlerText</I>"]
   [onFocus="<I>handlerText</I>"]
   [onSelect="<I>handlerText</I>"]&GT
</PRE>


<H3>Description</H3>
<P>text objects can be updated dynamically by setting this.value
<P>xxx to be supplied


<H3>Properties</H3>
<LI><A HREF=props.html#defaultValue_property>defaultValue</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#focus_method>focus</A>
<LI><A HREF=methods.html#blur_method>blur</A>
<LI><A HREF=methods.html#select_method>select</A>


<H3>Event handlers</H3>
<LI><A HREF=events.html#onBlur_event>onBlur</A>
<LI><A HREF=events.html#onChange_event>onChange</A>
<LI><A HREF=events.html#onFocus_event>onFocus</A>
<LI><A HREF=events.html#onSelect_event>onSelect</A>


<H3>Examples</H3>
<XMP>
<B>Last name:</B> <INPUT TYPE="text" NAME="last_name" VALUE="" SIZE=25>
</XMP>


<H3>See also</H3>
<LI><A HREF=#textarea_object>textArea</A> and <A HREF=#string_object>string</A> objects


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="textArea_object"><H2>textArea object (client)</H2></A>
<P>A textArea object is a multiline input field on an HTML form. A textArea field lets the user enter words, phrases, or numbers.


<H3>Syntax</H3>
<P>To define a text area, use standard HTML syntax with the addition of the onBlur, onChange, onFocus, and onSelect event handlers:
<PRE>
&LTTEXTAREA
   NAME="<I>objectName</I>"
   ROWS="<I>integer</I>"
   COLS="<I>integer</I>"
   [onBlur="<I>handlerText</I>"]
   [onChange="<I>handlerText</I>"]
   [onFocus="<I>handlerText</I>"]
   [onSelect="<I>handlerText</I>"]&GT
   <I>textToDisplay</I>
&LT/TEXTAREA&GT
</PRE>
<P><I>textToDisplay</I> allows only ASCII text, and new lines are respected.
<BR><I>ROWS</I> and <I>COLS</I> define the physical size of the displayed input field in numbers of characters.


<H3>Description</H3>
<P>textArea objects can be updated dynamically. xxx need to explain how. (see text object)


<H3>Properties</H3>
<LI><A HREF=props.html#defaultValue_property>defaultValue</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#focus_method>focus</A>
<LI><A HREF=methods.html#blur_method>blur</A>
<LI><A HREF=methods.html#select_method>select</A>


<H3>Event handlers</H3>
<LI><A HREF=events.html#onBlur_event>onBlur</A>
<LI><A HREF=events.html#onChange_event>onChange</A>
<LI><A HREF=events.html#onFocus_event>onFocus</A>
<LI><A HREF=events.html#onSelect_event>onSelect</A>


<H3>Examples</H3>
<XMP>
<B>Description:</B>
<BR><TEXTAREA NAME="item_description" ROWS=6 COLS=55>
Our storage ottoman provides an attractive way to
store lots of CDs and videos--and it's versatile
enough to store other things as well.

It can hold up to 72 CDs under the lid and 20 videos
in the drawer below.
</TEXTAREA>
</XMP>


<H3>See also</H3>
<LI><A HREF=#text_object>text</A> and <A HREF=#string_object>string</A> objects


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="window_object"><H2>window object (client)</H2></A>
<P>A window object is the top-level object for each document, location, and history object group.


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


<H3>Description</H3>
<P>The window object is the top-level object in the JavaScript client hierarchy. Because the existence of the current window is assumed, you don't have to reference the name of the window when you call its methods and assign its properties. For example, <TT>status="Jump to a new location"</TT> is a valid property assignment, and <TT>close()</TT> is a valid method call.

<P>The self and window properties are synonyms for the current window, and you can optionally use them to refer to the current window. For example, you can close the current window by calling either <TT>window.close()</TT> or <TT>self.close()</TT>. You can use these properties to make your code more readable, or to disambiguate the property assignment <TT>self.status</TT> from a form called <TT>status</TT>.

<P>See the methods and properties listed below for more examples.

<P>You can reference a window's frame objects in your code by using the frames property. The frames property is an array that contains an entry for each frame in a window.


<H3>Properties</H3>
<LI><A HREF=props.html#frames_property>frames</A>
<LI><A HREF=props.html#parent_property>parent</A>
<LI><A HREF=props.html#self_property>self</A>
<LI><A HREF=props.html#top_property>top</A>
<LI><A HREF=props.html#status_property>status</A>
<LI><A HREF=props.html#defaultStatus_property>defaultStatus</A>


<H3>Methods</H3>
<LI><A HREF=methods.html#alert_method>alert</A>
<LI><A HREF=methods.html#close_method>close</A>
<LI><A HREF=methods.html#confirm_method>confirm</A>
<LI><A HREF=methods.html#open_method>open</A>
<LI><A HREF=methods.html#prompt_method>prompt</A>
<LI><A HREF=methods.html#setTimeout_method>setTimeout</A>
<LI><A HREF=methods.html#clearTimeout_method>clearTimeout</A>


<H3>Event handlers</H3>
<LI><A HREF=events.html#onLoad_method>onLoad</A>
<LI><A HREF=events.html#onUnload_method>onUnload</A>


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


<H3>See also</H3>
<LI><A HREF=#document_object>document</A> object
<LI><A HREF=props.html#frames_property>frames</A> property


<hr><a href="index.html">回主目錄</a><p></BODY>
</HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品亚洲人在线观看| 欧美精品在线观看一区二区| 欧亚洲嫩模精品一区三区| 日韩一区二区在线观看视频播放| 国产欧美一区在线| 免费三级欧美电影| 在线亚洲免费视频| 国产精品天天摸av网| 日本最新不卡在线| 欧美在线小视频| 一区视频在线播放| 粉嫩蜜臀av国产精品网站| 欧美日韩一区二区三区四区五区| 亚洲国产精品ⅴa在线观看| 首页亚洲欧美制服丝腿| 91视频在线观看| 国产丝袜欧美中文另类| 日本中文一区二区三区| 色999日韩国产欧美一区二区| 久久久精品黄色| 极品少妇xxxx精品少妇| 欧美人与禽zozo性伦| 最新日韩av在线| 成人精品国产免费网站| 精品福利一二区| 久久99国产精品麻豆| 欧美精品在线一区二区| 亚洲一区二区美女| 欧美日韩国产小视频在线观看| 亚洲欧美偷拍卡通变态| 国产成人免费在线观看| 久久蜜桃av一区二区天堂 | 国产99精品视频| 欧美成人官网二区| 极品尤物av久久免费看| 日韩精品一区二区三区swag | 欧美日韩mp4| 亚洲国产综合人成综合网站| 欧美亚洲图片小说| 性做久久久久久免费观看欧美| 欧美亚洲愉拍一区二区| 亚洲福利一二三区| 日韩一区二区三区电影| 日韩av二区在线播放| 日韩欧美一级二级| 国产美女一区二区三区| 久久久精品免费观看| 国产成人福利片| 综合自拍亚洲综合图不卡区| 91一区一区三区| 一区二区不卡在线视频 午夜欧美不卡在| 91麻豆精东视频| 日韩电影在线一区| 国产欧美精品一区二区三区四区 | 欧美精品在线观看播放| 日韩高清不卡一区二区| 日韩一区二区精品葵司在线| 免费高清不卡av| 亚洲国产精品成人综合色在线婷婷| 成人看片黄a免费看在线| 亚洲欧美日韩成人高清在线一区| 欧美日韩在线电影| 国产精品996| 亚洲午夜私人影院| 精品久久久久香蕉网| 风流少妇一区二区| 一区二区三区四区中文字幕| 91精品国产一区二区三区蜜臀| 国产在线观看一区二区| 伊人夜夜躁av伊人久久| 精品少妇一区二区三区视频免付费| 粉嫩一区二区三区性色av| 亚洲一区二区精品久久av| 精品日韩在线观看| 97精品电影院| 极品美女销魂一区二区三区免费| 亚洲女性喷水在线观看一区| 欧美一二三区在线观看| 北条麻妃一区二区三区| 日韩精品一二三| 最新热久久免费视频| 欧美成人三级电影在线| 亚洲欧美视频在线观看| 成人欧美一区二区三区黑人麻豆| 91丨九色丨蝌蚪富婆spa| 亚洲成av人片观看| 国产精品精品国产色婷婷| 91精品国产综合久久精品性色| 国产成人福利片| 日本欧美韩国一区三区| 国产精品不卡一区| 26uuu久久综合| 欧美日韩视频在线观看一区二区三区 | 久久久久久久国产精品影院| 色婷婷av一区| 亚洲激情成人在线| 国产亚洲欧美一区在线观看| 欧美伦理视频网站| 国产成人精品www牛牛影视| 亚洲女同一区二区| 国产精品视频免费| 国产精品不卡在线观看| 69精品人人人人| 色综合久久88色综合天天| 在线观看视频一区| 欧美一区三区二区| 国产日韩精品一区二区三区| 国产精品麻豆视频| 丝瓜av网站精品一区二区| 毛片av中文字幕一区二区| 国产麻豆91精品| 欧美在线色视频| 精品久久久久久久久久久院品网| 国产女主播视频一区二区| 亚洲天堂成人在线观看| 香蕉av福利精品导航| 韩国v欧美v亚洲v日本v| 91网站最新地址| 日韩欧美国产1| 日韩理论片一区二区| 日韩精品一卡二卡三卡四卡无卡| 国产精品自拍网站| 在线观看亚洲专区| 久久精品一区二区三区四区| 亚洲人亚洲人成电影网站色| 日韩激情av在线| 成人午夜在线视频| 欧美一区二区三区免费视频| 久久精品这里都是精品| 午夜欧美一区二区三区在线播放| 国产美女在线精品| 在线不卡欧美精品一区二区三区| 国产午夜精品一区二区三区四区| 一区二区三区成人在线视频 | 亚洲精品综合在线| 国产真实乱子伦精品视频| 97久久精品人人澡人人爽| 日韩一区二区三区在线| 亚洲蜜桃精久久久久久久| 精品一二线国产| 欧美日韩视频一区二区| 中文字幕一区二区三区四区 | 国产综合久久久久久久久久久久| 色欧美日韩亚洲| 国产精品视频看| 国产精品一二三四五| 884aa四虎影成人精品一区| 亚洲视频每日更新| caoporm超碰国产精品| 欧美va天堂va视频va在线| 亚洲一区二区免费视频| 91视频在线看| 最好看的中文字幕久久| 成人黄色一级视频| 欧美激情一区三区| 国产乱码精品一品二品| 日韩免费观看高清完整版| 一区二区三区欧美亚洲| av电影在线观看完整版一区二区| 国产欧美精品一区二区色综合| 国产一区二区美女诱惑| 精品国产自在久精品国产| 蜜乳av一区二区| 日韩精品一区二区三区蜜臀| 日韩电影在线免费| 日韩午夜中文字幕| 麻豆国产精品一区二区三区| 777午夜精品视频在线播放| 亚洲成av人影院在线观看网| 91理论电影在线观看| 日韩毛片精品高清免费| 不卡视频免费播放| 亚洲欧洲日产国产综合网| eeuss鲁片一区二区三区在线看 | 国产精品久久久久三级| 国产成人久久精品77777最新版本| 久久免费电影网| 国产成人av电影在线观看| 久久久91精品国产一区二区精品| 国产99久久久精品| 久久久久久久久久久久久夜| 蜜桃视频在线观看一区| 久久影音资源网| av午夜精品一区二区三区| 亚洲欧美日韩一区二区| 在线观看成人小视频| 五月婷婷综合激情| 精品国产第一区二区三区观看体验| 国产在线视频精品一区| 26uuu精品一区二区| 国产成人精品亚洲午夜麻豆| 中文字幕在线一区免费| 在线看国产日韩| 美国一区二区三区在线播放| wwwwww.欧美系列| 成人动漫视频在线| 亚洲大片在线观看| 精品国产精品一区二区夜夜嗨| 9久草视频在线视频精品| 一区二区高清视频在线观看|