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

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

?? objects.html

?? javascript中文教程
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="form_object"><H2>form object (client)</H2> </A>
<P>A form lets users input text and make choices from form objects such as checkboxes, radio buttons, and selection lists. You can also use a form to post data to or retrieve data from a server.


<H3>Syntax</H3>
<P>To define a form, use standard HTML syntax with the addition of the onSubmit event handler:
<PRE>
&LTFORM
   NAME="<I>objectName</I>
   TARGET="<I>windowName</I>"
   ACTION="<I>serverURL</I>"
   METHOD=GET | POST
   [onSubmit="<I>handlerText</I>"]&GT
&LT/FORM&GT
</PRE>

<P><I>TARGET</I> specifies the window that form responses go to. When you submit a form with a TARGET attribute, instead of seeing the server's responses in the same window that contained the form, you see them in a (possibly new) window.
<BR><I>ACTION</I> specifies the URL of the server to which form field input information is sent.
<BR<I>METHOD</I> specifies how information is sent to the server specified by ACTION. GET (the default) appends the input information to the URL which on most receiving systems becomes the value of the environment variable <I>QUERY_STRING</I>. POST sends the input information in a data body which is available on <I>stdin</I> with the data length set in the environment variable <I>CONTENT_LENGTH</I>.


<H3>Description</H3>
<P>
Each form in a document corresponds to a distinct object.

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

<P>You can reference a form's elements in your code by using the elements property. The elements property is an array that contains an entry for each element (such as a checkbox, radioButton, or text object) in a form.


<H3>Properties</H3>
<LI><A HREF=props.html#action_property>action</A>
<LI><A HREF=props.html#elements_property>elements</A>
<LI><A HREF=props.html#method_property>method</A>
<LI><A HREF=props.html#name_property>name</A>
<LI><A HREF=props.html#target_property>target</A>


<H3>Methods</H3>
<LI><A HREF=methods.html#submit_method>submit</A>


<H3>Event handlers</H3>
<LI><A HREF=events.html#onSubmit_event>onSubmit</A>


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


<H3>See also</H3>
<LI><A HREF=props.html#elements_property>elements</A>, <A HREF=props.html#forms_property>forms</A> properties

<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="history_object"><H2>history object (client)</H2> </A>
<! xxx ->
<! xxx Rand says: I haven't been able to get history to work, so don't worry too much about it for now. ->
<! xxx ->
<P>The history object contains information on the URLs that the client has visited. 
This information is stored in a history list, and is accessible through the Navigator's 
Go menu.


<H3>Syntax</H3>
<PRE>history.go(<I>delta</I>)</PRE>
<I>delta</I> is an integer representing the offset of the destination URL in the history list.


<H3>Description</H3>
<P>The history object is a linked list of URLs the user has visited, as shown in the Navigator's Go menu.


<H3>Properties</H3>
<! xxx ->
<! xxx back and forward properties were removed and might come back as previous and next. ->
<! xxx ->
<LI><A HREF=props.html#current_property>current</A>
<LI><A HREF=props.html#length_property>length</A>


<H3>Methods</H3>
<LI><A HREF=methods.html#back_method>back</A>
<LI><A HREF=methods.html#forward_method>forward</A>
<LI><A HREF=methods.html#go_method>go</A>


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


<H3>Examples</H3>
<P>The following example goes to the URL the user visited three clicks ago.
<XMP>history.go(-3)</XMP>


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


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="link_object"><H2>link object (client)</H2></A>
<P>A link is a piece of text identified as a hypertext link. When the user clicks the link text, the link hypertext reference is loaded into its target window.


<H3>Syntax</H3>
<! xxx ->
<! xxx HTML has a LINK tag. Should that be used here instead of the A tag? ->
<! xxx ->
<P>To define a link, use standard HTML syntax with the addition of the onClick and onMouseOver event handlers:
<PRE>
&LTA HREF=<I>locationOrURL</I>
   TARGET="<I>windowName</I>"
   [onClick="<I>handlerText</I>"]
   [onMouseOver="<I>handlerText</I>"]&GT
   <I>linkText</I>
&LT/A&GT
</PRE>
<P><I>HREF</I> identifies a destination anchor or URL.
<BR><I>TARGET</I> specifies the window that the link is loaded into.
<BR><I>linkText</I> is rendered as a hypertext link to the URL.


<H3>Description</H3>
<P>Each link object is a location object.

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


<H3>Properties</H3>
<LI><A HREF=props.html#target_property>target</A>


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


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


<H3>Examples</H3>
<P>The following example creates a hypertext link to an anchor named <I>javascript_intro</I>.
<XMP>
<A HREF="#javascript_intro">Introduction to JavaScript</A>
</XMP>
<P>The following example creates a hypertext link to a URL.
<XMP>
<A HREF="http://www.netscape.com">Netscape Home Page</A>
</XMP>


<H3>See also</H3>
<LI><A HREF=#anchor_object>anchor</A> object
<LI><A HREF=props.html#links_property>links</A> property


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


<H3>Syntax</H3>
<PRE>location.<I>property</I></PRE>
<I>property</I> is one of the properties listed below.


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


<H3>Properties</H3>
<LI><A HREF=props.html#hash_property>hash</A>
<LI><A HREF=props.html#host_property>host</A>
<LI><A HREF=props.html#hostname_property>hostname</A>
<LI><A HREF=props.html#href_property>href</A>
<LI><A HREF=props.html#pathname_property>pathname</A>
<LI><A HREF=props.html#port_property>port</A>
<LI><A HREF=props.html#protocol_property>protocol</A>
<LI><A HREF=props.html#search_property>search</A>


<H3>Methods</H3>
<LI><A HREF=methods.html#assign_method>assign</A>
<LI><A HREF=methods.html#toString_method>toString</A>


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


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


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


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="Math_object"><H2>Math object (common)</H2></A>
<P>The built-in Math object has properties and methods for mathematical constants and functions. For example, the Math object's PI property has the value of pi.


<H3>Syntax</H3>
<PRE>
Math.<I>propertyName</I>
or
Math.<I>methodName</I>(<I>parameters</I>)
</PRE>


<H3>Description</H3>
<P>You reference the constant PI as <TT>Math.PI</TT>. Constants are defined with the full precision of real numbers in JavaScript.
<P>
Similarly, you reference Math functions as methods. For example, the sine function is <TT>Math.sin(<I>argument</I>)</TT>, where <I>argument</I> is the argument.
<P>
It is often convenient to use the <B>with</B> statement when a section of code uses several Math constants and methods, so you don't have to type "Math" repeatedly. For example,
<PRE>
with Math {
   a = PI * r*r;
   y = r*sin(theta)
   x = r*cos(theta)
}
</PRE>


<H3>Properties</H3>
<LI><A HREF=props.html#E_property>E</A>
<LI><A HREF=props.html#LN10_property>LN10</A>
<LI><A HREF=props.html#LN2_property>LN2</A>
<LI><A HREF=props.html#PI_property>PI</A>
<LI><A HREF=props.html#SQRT1_2_property>SQRT1_2</A>
<LI><A HREF=props.html#SQRT2_property>SQRT2</A>


<H3>Methods</H3>
<LI><A HREF=methods.html#abs_method>abs</A>
<LI><A HREF=methods.html#acos_method>acos</A>
<LI><A HREF=methods.html#asin_method>asin</A>
<LI><A HREF=methods.html#atan_method>atan</A>
<LI><A HREF=methods.html#ceil_method>ceil</A>
<LI><A HREF=methods.html#cos_method>cos</A>
<LI><A HREF=methods.html#exp_method>exp</A>
<LI><A HREF=methods.html#floor_method>floor</A>
<LI><A HREF=methods.html#log_method>log</A>
<LI><A HREF=methods.html#max_method>max</A>
<LI><A HREF=methods.html#min_method>min</A>
<LI><A HREF=methods.html#pow_method>pow</A>
<LI><A HREF=methods.html#random_method>random</A>
<LI><A HREF=methods.html#round_method>round</A>
<LI><A HREF=methods.html#sin_method>sin</A>
<LI><A HREF=methods.html#sqrt_method>sqrt</A>
<LI><A HREF=methods.html#tan_method>tan</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="password_object"><H2>password object (client)</H2></A>
<! xxx ->
<! xxx Rand says: Do not document password now. It may go in later, but not now. ->
<! xxx ->
<P>A password object is a text field on an HTML form. When the user enters text into the field, asterisks (*) hide anything entered from view.


<H3>Syntax</H3>
<P>To define a password object, use standard HTML syntax:
<PRE>
&LTINPUT
   TYPE="password"
   NAME="<I>objectName</I>"
   [VALUE="<I>textValue</I>"]
   SIZE=<I>integer</I>
</PRE>


<H3>Description</H3>
<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>
<P>None.


<H3>Examples</H3>
<P>
<XMP>
<B>Password:</B> <INPUT TYPE="password" NAME="password" VALUE="" SIZE=25>
</XMP>


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


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="radioButton_object"><H2>radioButton object (client)</H2></A>
<P>A radioButton object is a set of radio buttons on an HTML form. A set of radio buttons lets the user choose one item from a list.


<H3>Syntax</H3>
<P>To define a set of radio buttons, use standard HTML syntax with the addition of the onClick event handler:
<PRE>
&LTINPUT
   TYPE="radio"
   NAME="<I>objectName</I>"
   VALUE="<I>buttonValue</I>"
   [CHECKED]
   [onClick="<I>handlerText</I>"]&GT
   <I>textToDisplay</I>
</PRE>
<P><I>NAME</I> should contain the same value for all radio buttons in a group.


<H3>Description</H3>
<P>All radio buttons in a radio button group use the same name property. To access the individual radio buttons in your code, follow the object name with an index starting from zero, one for each button the same way you would for an array such as <I>forms</I>: <TT>document.forms[0].<I>objectName</I>[0]</TT> is the first, <TT>document.forms[0].<I>objectName</I>[1]</TT> is the second, etc.


<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#index_property>index</A>
<LI><A HREF=props.html#length_property>length</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>
<P>
The following example defines a radio button group to choose among three catalogs. Each radio button is given the same name, <I>NAME="choice"</I>, forming a group of buttons for which only one choice can be selected. The example also defines a text field that defaults to what was chosen via the radio buttons but that allows the user to type a nonstandard catalog name as well. JavaScript automatically sets the catalog name input field based on the radio buttons.
<XMP>
<INPUT TYPE="text" NAME="catalog" SIZE="20">
<INPUT TYPE="radio" NAME="choice" VALUE="PRICEY"
   onClick="form.catalog.value = 'top-of-the-line'"> It's really great!
<INPUT TYPE="radio" NAME="choice" VALUE="MODEST"
   onClick="form.catalog.value = 'middle-of-the-road'"> It's pretty good.
<INPUT TYPE="radio" NAME="choice" VALUE="CHEAPO"
   onClick="form.catalog.value = 'bargain-basement'"> It stinks!
</XMP>


<H3>See also</H3>
<LI><A HREF=#selection_object>selection</A> object


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


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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡视频免费播放| 日韩中文字幕不卡| 国产精品2024| 一区二区三区色| 欧美美女一区二区在线观看| 天堂一区二区在线| 久久综合久久综合亚洲| youjizz国产精品| 国产精品电影一区二区| 欧美在线观看一二区| 偷拍一区二区三区四区| 亚洲少妇中出一区| 日韩午夜激情视频| 成人爱爱电影网址| 青青草伊人久久| 亚洲资源在线观看| 91精品久久久久久久99蜜桃| 国产精品亚洲人在线观看| 一区二区三区资源| 久久久亚洲精品石原莉奈| 成人精品鲁一区一区二区| 美女精品一区二区| 亚洲美女免费在线| 欧美日韩免费在线视频| 成人免费视频国产在线观看| 日韩国产一区二| 国产精品不卡在线| 欧美亚洲综合色| 丁香婷婷综合激情五月色| 看电视剧不卡顿的网站| 日韩一区在线看| 午夜久久福利影院| 中文字幕欧美国产| 日韩一级高清毛片| 欧美一区二区在线免费播放| 91视视频在线直接观看在线看网页在线看 | 蜜桃视频在线观看一区| 亚洲不卡av一区二区三区| 中文字幕中文字幕中文字幕亚洲无线| 91久久国产综合久久| 成人一道本在线| 欧美96一区二区免费视频| 日本一区中文字幕| 亚洲一区二区欧美激情| 亚洲欧洲精品成人久久奇米网| 欧美性受xxxx黑人xyx| 色婷婷综合激情| 91欧美一区二区| 国产美女久久久久| 婷婷六月综合网| 日韩精品亚洲专区| 天天操天天色综合| 一区二区在线观看视频在线观看| 亚洲日韩欧美一区二区在线| 国产婷婷一区二区| 久久亚洲精华国产精华液| 欧美人牲a欧美精品| 日韩视频在线你懂得| 国产成人精品午夜视频免费| 美女视频黄a大片欧美| 国产福利精品一区二区| 国产精品99久久久久久久vr | 久久夜色精品国产噜噜av| 欧美一区二区二区| 97精品国产露脸对白| 国产成人精品午夜视频免费 | 国产成人夜色高潮福利影视| 国产在线一区二区| 蜜臂av日日欢夜夜爽一区| 日韩精品乱码免费| 国产mv日韩mv欧美| 大胆亚洲人体视频| 国产精品亚洲一区二区三区妖精 | 久久精品欧美一区二区三区麻豆| 日韩免费一区二区| 精品视频在线视频| 精品国产sm最大网站| 国产视频911| 欧美一级片在线| 日韩午夜激情av| 欧美激情一区不卡| 一区二区三国产精华液| 婷婷综合在线观看| 国产a久久麻豆| 色香蕉成人二区免费| 成人美女视频在线看| 精品国产免费一区二区三区四区 | 日韩欧美的一区二区| 精品国产网站在线观看| 中文字幕中文字幕在线一区 | 欧美激情在线看| 一区在线播放视频| 久久国产免费看| 成人精品亚洲人成在线| 成人免费观看视频| 91精品久久久久久久久99蜜臂| 久久久精品蜜桃| 国产精品麻豆欧美日韩ww| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产揄拍国内精品对白| 色欧美日韩亚洲| 欧美日韩情趣电影| 一区二区三区日韩欧美精品| 亚洲成av人影院在线观看网| 午夜精品免费在线| 色88888久久久久久影院按摩| 91精品国产手机| 国产亚洲精品bt天堂精选| 五月激情六月综合| 成人性生交大合| 欧美日韩亚洲丝袜制服| 亚洲丝袜另类动漫二区| 丝袜a∨在线一区二区三区不卡| 樱桃国产成人精品视频| 免费一区二区视频| 欧美精品色一区二区三区| 国产精品午夜免费| 亚洲国产精品久久人人爱蜜臀| 风间由美一区二区三区在线观看| 欧美日韩一区二区三区在线| 欧美本精品男人aⅴ天堂| 午夜精品久久久久久久99樱桃| 色综合一区二区| 亚洲免费观看高清完整版在线观看熊| 婷婷成人综合网| 91黄视频在线观看| 一区二区三区免费看视频| 不卡欧美aaaaa| 精品美女在线观看| 狠狠色丁香久久婷婷综合_中| zzijzzij亚洲日本少妇熟睡| 欧美国产丝袜视频| 国内精品国产成人国产三级粉色| 欧洲一区二区三区在线| 一区二区三区欧美在线观看| 青椒成人免费视频| 日韩一区二区三| 日韩一区精品字幕| 国产成人三级在线观看| 中文在线一区二区| 麻豆91精品91久久久的内涵| 日韩视频一区二区三区| 一区二区在线电影| 欧美日韩国产高清一区| 日韩伦理av电影| 激情亚洲综合在线| 欧美激情一区二区三区四区| 欧美aaaaaa午夜精品| 精品不卡在线视频| 另类专区欧美蜜桃臀第一页| 色中色一区二区| 视频一区二区中文字幕| av不卡免费在线观看| 中文字幕日韩av资源站| 成人高清免费观看| 久久综合久久综合亚洲| www.爱久久.com| 久久久91精品国产一区二区精品| 顶级嫩模精品视频在线看| 亚洲国产激情av| 色综合久久天天| 亚洲一区二区3| 色综合久久88色综合天天免费| 亚洲成人黄色小说| 成人毛片视频在线观看| 亚洲综合色婷婷| 国产精品99久久不卡二区| 樱桃视频在线观看一区| 成人午夜碰碰视频| 亚洲国产毛片aaaaa无费看| 色哟哟国产精品| 久久精品999| 精品久久五月天| 色天天综合久久久久综合片| 国产亚洲一区字幕| 欧美亚洲国产一区二区三区va| 一区二区三区国产精华| 欧美一卡二卡在线| 国产一区二区三区在线看麻豆| 91精品在线麻豆| 99这里只有精品| 亚洲精品福利视频网站| 26uuu精品一区二区三区四区在线| 久久99精品久久久久久动态图 | 中文字幕一区在线| 91丨porny丨蝌蚪视频| 亚洲一级不卡视频| 日本一区二区三级电影在线观看 | 欧美色窝79yyyycom| 青青草成人在线观看| 久久综合久久99| 欧美日韩亚洲综合一区| 成人综合在线观看| 亚洲最新在线观看| 欧美日韩国产天堂| 91久久一区二区| 激情综合五月婷婷| 亚洲精品伦理在线| 久久久蜜桃精品| 欧美亚洲日本国产|