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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ref_s-s.htm

?? javascript函數(shù)大全HTML javascript函數(shù)大全HTML
?? HTM
?? 第 1 頁 / 共 4 頁
字號(hào):
<htm><title>網(wǎng)絡(luò)時(shí)空——網(wǎng)頁制作</title>
<link rel="shortcut icon" href="../../../../ccisn.ico">
<link href="../../../../common.css" type="text/css" rel="stylesheet"><style type="text/css">
<!--
td,p,div {font-size:9pt;font-family:宋體;}
BODY { font-family:宋體; margin-left:0; margin-top:0; font-size:9pt; background-color:#ffffff;}
A { font-size: 9pt;color:#0000aa; text-decoration:underline;font-family:宋體; }
A:hover,A:active{ color:#FF8019; text-decoration:underline;}
A.top{color:#ffffff;font-size:9pt}
-->
</style>
<body bgcolor="#ffffff" text="#000000" link="#003399" alink="#ff9900" vlink="#000000" background="../../../images/b01.jpg">
<A NAME="search_property"><H2>search property</H2></A>
<P>
A string beginning with a question mark that specifies any query information in the URL.

<H3>語法</H3>
<PRE>
1. links[<I>index</I>].search
2. location.search
</PRE>
<P><I>index</I> is an integer representing a link object.

<H3>Property of</H3>
<P><A HREF="ref_h-l.htm#link_object" link_object">link</A>, <A HREF="ref_h-l.htm#location_object" location_object">location</A>

<H3>描述</H3>
<P>The search property specifies a portion of the URL.

<P>You can set the search property at any time, although it is safer to set the href property to change a location. If the search that you specify cannot be found in the current location, you will get an error.

<P>See Section 3.3 of <A HREF="tppmsgs/msgs0.htm#12" tppabs="http://www.cis.ohio-state.edu/htbin/rfc/rfc1738.htm" TARGET="_top">RFC 1738</A> for complete information about the search.


<H3>例子</H3>
<P>In the following example, the <TT>window.open</TT> statement creates a window called <I>newWindow</I> and loads the specified URL into it. The <TT>document.write</TT> statements display all the properties of <TT>newWindow.location</TT> in a window called <I>msgWindow</I>.
<PRE>
newWindow=window.open
   ("http://guide-p.infoseek.com/WW/NS/Titles?qt=RFC+1738+&col=WW")

msgWindow.document.write("newWindow.location.href = " +
   newWindow.location.href + "&ltP&gt")
msgWindow.document.write("newWindow.location.protocol = " +
   newWindow.location.protocol + "&ltP&gt")
msgWindow.document.write("newWindow.location.host = " +
   newWindow.location.host + "&ltP&gt")
msgWindow.document.write("newWindow.location.hostName = " +
   newWindow.location.hostName + "&ltP&gt")
msgWindow.document.write("newWindow.location.port = " +
   newWindow.location.port + "&ltP&gt")
msgWindow.document.write("newWindow.location.pathname = " +
   newWindow.location.pathname + "&ltP&gt")
msgWindow.document.write("newWindow.location.search = " +
   newWindow.location.search + "&ltP&gt")
msgWindow.document.write("newWindow.location.hash = " +
   newWindow.location.hash + "&ltP&gt")
msgWindow.document.close()
</PRE>

<P>The previous example displays the following output:
<PRE>
newWindow.location.href =
   http://guide-p.infoseek.com/WW/NS/Titles?qt=RFC+1738+&col=WW
newWindow.location.protocol = http:
newWindow.location.host = guide-p.infoseek.com
newWindow.location.hostName = guide-p.infoseek.com
newWindow.location.port = 
newWindow.location.pathname = /WW/NS/Titles
newWindow.location.search = ?qt=RFC+1738+&col=WW
newWindow.location.hash = 
</PRE>

<H3>相關(guān)</H3>
<LI><A HREF="ref_h-l.htm#hash_property" hash_property">hash</A>, <A HREF="ref_h-l.htm#host_property" host_property">host</A>, <A HREF="ref_h-l.htm#hostname_property" hostname_property">hostname</A>, <A HREF="ref_h-l.htm#href_property" href_property">href</A>, <A HREF="ref_m-q.htm#pathname_property" pathname_property">pathname</A>, <A HREF="ref_m-q.htm#port_property" port_property">port</A>, <A HREF="ref_m-q.htm#protocol_property" protocol_property">protocol</A> properties
<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="select_method"><H2>select method</H2></A>
<P>
Selects the input area of the specified password, text, or textarea object.

<H3>語法</H3>
<PRE>
1. <I>passwordName</I>.select()
2. <I>textName</I>.select()
3. <I>textareaName</I>.select()
</PRE>
<P><I>passwordName</I> is either the value of the NAME attribute of a password object or an element in the <I>elements</I> array.
<BR><I>textName</I> is either the value of the NAME attribute of a text object or an element in the <I>elements</I> array.
<BR><I>textareaName</I> is either the value of the NAME attribute of a textarea object or an element in the <I>elements</I> array.

<H3>方法</H3>
<P><A HREF="ref_m-q.htm#password_object" password_object">password</A>, <A HREF="ref_t-z.htm#text_object" text_object">text</A>, <A HREF="ref_t-z.htm#textarea_object" textarea_object">textarea</A>

<H3>描述</H3>
<P>Use the select method to highlight the input area of a form element. You can use the select method with the focus method to highlight a field and position the cursor for a user response.

<H3>例子</H3>
<P>In the following example, the <I>checkPassword</I> function confirms that a user has entered a valid password. If the password is not valid, the select method highlights the password field and the focus method returns focus to it so the user can re-enter the password.
<PRE>
function checkPassword(userPass) {
   if (badPassword) {
      alert("Please enter your password again.")
      userPass.focus()
      userPass.select()
   }
}</PRE>
This example assumes that the password is defined as:
<PRE>&ltINPUT TYPE="password" NAME="userPass"&gt</PRE>

<H3>相關(guān)</H3>
<LI><A HREF="ref_a-c.htm#blur_method" blur_method">blur</A>, <A HREF="ref_f-g.htm#focus_method" focus_method">focus</A> methods
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="select_object"><H2>select object (<I>options</I> array)</H2></A>
<P>A selection list or scrolling list on an htm 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>語法</H3>
<P>To define a select object, use standard htm 語法 with the addition of the onBlur, onChange, and onFocus event handlers:
<PRE>
&LTSELECT
   NAME="<I>selectName</I>"
   [SIZE="<I>integer</I>"]
   [MULTIPLE]
   [onBlur="<I>handlerText</I>"]
   [onChange="<I>handlerText</I>"]
   [onFocus="<I>handlerText</I>"]&GT
   &LTOPTION VALUE="<I>optionValue</I>" [SELECTED]&GT <I>textToDisplay</I> [ ... &LTOPTION&GT <I>textToDisplay</I>]
&LT/SELECT&GT
</PRE>
<I>NAME="selectName"</I> specifies the name of the select object. You can access this value using the name property.
<BR><I>SIZE="integer"</I> specifies the number of options visible when the form is displayed.
<BR><I>MULTIPLE</I> specifies that the select object is a scrolling list (not a selection list).
<BR><I>OPTION</I> specifies a selection element in the list. You can access the options using the options array.
<BR><I>VALUE="optionValue"</I> specifies a value that is returned to the server when the option is selected and the form is submitted. You can access this value using the value property.
<BR><I>SELECTED</I> specifies that the option is selected by default. You can access this value using the defaultSelected property.
<BR><I>textToDisplay</I> specifies the text to display in the list. You can access this value using the text property.

<P>To use a select object's properties and methods:
<PRE>
1. <I>selectName</I>.<I>propertyName</I>
2. <I>selectName</I>.<I>methodName</I>(<I>parameters</I>)
3. <I>formName</I>.elements[<I>index</I>].<I>propertyName</I>
4. <I>formName</I>.elements[<I>index</I>].<I>methodName</I>(<I>parameters</I>)
</PRE>
<I>selectName</I> is the value of the NAME attribute of a select object.
<BR><I>formName</I> is either the value of the NAME attribute of a form object or an element in the <I>forms</I> array.
<BR><I>index</I> is an integer representing a select object on a form.
<BR><I>propertyName</I> is one of the properties listed below.
<BR><I>methodName</I> is one of the methods listed below.

<P>To use an option's properties:
<PRE>
1. <I>selectName</I>.options[<I>index1</I>].<I>propertyName</I>
2. <I>formName</I>.elements[<I>index2</I>].options[<I>index1</I>].<I>propertyName</I>
</PRE>
<I>selectName</I> is the value of the NAME attribute of a select object.
<BR><I>index1</I> is an integer representing an option in a select object.
<BR><I>formName</I> is either the value of the NAME attribute of a form object or an element in the <I>forms</I> array.
<BR><I>index2</I> is an integer representing a select object on a form.
<BR><I>propertyName</I> is one of the properties listed below.


<H3>Property of</H3>
<LI>The select object is a property of <A HREF="ref_f-g.htm#form_object" form_object">form</A>
<LI>The options array is a property of <A HREF="ref_s-s.htm#select_object" select_object">select</A>


<H3>描述</H3>
<P>A select object on a form looks as follows. The object on the left is a selection list that lets the user choose one item; the object on the right is a scrolling list that lets the user choose one or more items:
<FORM>
<SELECT NAME="music_type_single">
   <OPTION SELECTED> R&B
   <OPTION> Jazz
   <OPTION> Blues
   <OPTION> New Age
</SELECT>
<SELECT NAME="music_type_multi" MULTIPLE>
   <OPTION SELECTED> R&B
   <OPTION> Jazz
   <OPTION> Blues
   <OPTION> New Age
</SELECT>
</FORM>
<P>A select object is a form element and must be defined within a &LTFORM&GT tag.


<H4>The <I>options</I> array</H4>
<P>You can reference the options of a select object in your code by using the <I>options</I> array. This array contains an entry for each option in a select object (&LTOPTION&GT tag) in source order. For example, if a select object named <I>musicStyle</I> contains three options, these options are reflected as <TT>musicStyle.options[0]</TT>, <TT>musicStyle.options[1]</TT>, and <TT>musicStyle.options[2]</TT>.

<P>To use the <I>options</I> array:
<PRE>
1. <I>selectName</I>.options
2. <I>selectName</I>.options[<I>index</I>]
3. <I>selectName</I>.options.length
</PRE>
<P><I>selectName</I> is either the value of the NAME attribute of a select object or an element in the <I>elements</I> array.
<BR><I>index</I> is an integer representing an option in a select object.

<P>To obtain the number of options in a select object, use the length property of either the options array or the select object:
<PRE>
1. <I>selectName</I>.length
2. <I>selectName</I>.options.length
</PRE>

<P>The select object has properties that you can access only through the options array. These properties are listed below.

<P>Even though each element in the <I>options</I> array represents a select option, the value of options[<I>index</I>] is always null. The value returned by <I>selectName</I>.options represents the full htm statement for the <I>selectName</I> object.

<P>Elements in the <I>options</I> array are read-only. For example, the statement <TT><I>selectName</I>.options[0]="guitar"</TT> has no effect.


<H3>Properties</H3>
<P>The select object has the following properties:
<LI><A HREF="ref_h-l.htm#length_property" length_property">length</A> reflects the number of options in a select object
<LI><A HREF="ref_m-q.htm#name_property" name_property">name</A> reflects the NAME attribute
<LI><A HREF="ref_s-s.htm#select_object" select_object">options</A> reflects the &LTOPTION&GT tags
<LI><A HREF="ref_s-s.htm#selectedIndex_property" selectedIndex_property">selectedIndex</A> reflects the index of the selected option (or the first selected option, if multiple options are selected)

<P>The <I>options</I> array has the following properties:
<LI><A HREF="ref_d-e.htm#defaultSelected_property" defaultSelected_property">defaultSelected</A> reflects the SELECTED attribute
<LI><A HREF="ref_h-l.htm#index_property" index_property">index</A> reflects the index of an option
<LI><A HREF="ref_h-l.htm#length_property" length_property">length</A> reflects the number of options in a select object
<LI><A HREF="ref_m-q.htm#name_property" name_property">name</A> reflects the NAME attribute
<LI><A HREF="ref_s-s.htm#selected_property" selected_property">selected</A> lets you programatically select an option
<LI><A HREF="ref_s-s.htm#selectedIndex_property" selectedIndex_property">selectedIndex</A> reflects the index of the selected option
<LI><A HREF="ref_t-z.htm#text_property" text_property">text</A> reflects the <I>textToDisplay</I> that follows an &LTOPTION&GT tag
<LI><A HREF="ref_t-z.htm#value_property" value_property">value</A> reflects the VALUE attribute


<H3>Methods</H3>
<LI><A HREF="ref_a-c.htm#blur_method" blur_method">blur</A>
<LI><A HREF="ref_f-g.htm#focus_method" focus_method">focus</A>


<H3>Event handlers</H3>
<LI><A HREF="ref_m-q.htm#onBlur_event" onBlur_event">onBlur</A>
<LI><A HREF="ref_m-q.htm#onChange_event" onChange_event">onChange</A>
<LI><A HREF="ref_m-q.htm#onFocus_event" onFocus_event">onFocus</A>


<H3>例子</H3>
<P><B>Example 1.</B> The following example displays a selection list and a scrolling 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>

<P><B>Example 2.</B> The following example displays two selection lists that let the user choose a month and day. These selection lists are initialized to the current date. The user can change the month and day by using the selection lists or by choosing preset dates from radio buttons. Text fields on the form display the values of the select object's properties and indicate the date chosen and whether it is Cinco de Mayo.
<XMP>
<htm>
<HEAD>
<TITLE>Select object example</TITLE>
</HEAD>
<BODY>
<SCRIPT>
var today = new Date()
//---------------
function updatePropertyDisplay(monthObj,dayObj) {
   // Get date strings
   var monthInteger, dayInteger, monthString, dayString
   monthInteger=monthObj.selectedIndex
   dayInteger=dayObj.selectedIndex
   monthString=monthObj.options[monthInteger].text
   dayString=dayObj.options[dayInteger].text
   // Display property values
   document.selectForm.textFullDate.value=monthString + " " + dayString
   document.selectForm.textMonthLength.value=monthObj.length
   document.selectForm.textDayLength.value=dayObj.length
   document.selectForm.textMonthName.value=monthObj.name
   document.selectForm.textDayName.value=dayObj.name
   document.selectForm.textMonthIndex.value=monthObj.selectedIndex
   document.selectForm.textDayIndex.value=dayObj.selectedIndex
   // Is it Cinco de Mayo?
   if (monthObj.options[4].selected && dayObj.options[4].selected)
      document.selectForm.textCinco.value="Yes!"
   else
      document.selectForm.textCinco.value="No"
}
</SCRIPT>
<!--------------->
<FORM NAME="selectForm">
<P><B>Choose a month and day:</B> 
Month: <SELECT NAME="monthSelection"
   onChange="updatePropertyDisplay(this,document.selectForm.daySelection)">
   <OPTION> January <OPTION> February <OPTION> March
   <OPTION> April <OPTION> May <OPTION> June
   <OPTION> July <OPTION> August <OPTION> September
   <OPTION> October <OPTION> November <OPTION> December

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区三区黄视频| 91精品福利在线一区二区三区 | 中文字幕在线观看不卡视频| 久久男人中文字幕资源站| 欧美一级精品大片| 日韩一级二级三级精品视频| 91精品国产91久久综合桃花| 日韩丝袜情趣美女图片| 日韩欧美激情一区| 精品伦理精品一区| 国产婷婷精品av在线| 国产欧美久久久精品影院| 欧美国产欧美综合| 亚洲日本乱码在线观看| 亚洲精品成人少妇| 亚洲成人自拍一区| 免费在线看成人av| 国产米奇在线777精品观看| 国产成人av电影在线| 波多野洁衣一区| 欧美自拍偷拍午夜视频| 欧美一区二区视频观看视频| 精品福利在线导航| 国产精品久久久久久久久免费桃花 | 乱中年女人伦av一区二区| 热久久免费视频| 国产一区中文字幕| 91日韩一区二区三区| 欧美色视频在线| 欧美成人精品高清在线播放| 国产视频亚洲色图| 亚洲精品国久久99热| 天天亚洲美女在线视频| 国产一区二区三区在线看麻豆| 激情文学综合插| www.亚洲色图| 欧美二区乱c少妇| 国产欧美一区二区精品久导航| 一区视频在线播放| 日韩精品乱码av一区二区| 国产成人午夜片在线观看高清观看| 色综合激情五月| 欧美xxxxx牲另类人与| 亚洲欧洲在线观看av| 日韩精品五月天| 成人av资源下载| 欧美一区二区视频免费观看| 亚洲国产精品ⅴa在线观看| 午夜精品久久久| 成人av在线电影| 欧美一区二区在线观看| 一区二区中文视频| 久久国内精品自在自线400部| 99久久久久久99| 精品蜜桃在线看| 亚洲六月丁香色婷婷综合久久| 免费成人在线影院| 色婷婷av一区二区三区gif| 久久综合九色综合欧美亚洲| 亚洲午夜精品17c| 国产成人免费视频精品含羞草妖精| 国产清纯美女被跳蛋高潮一区二区久久w| 一区二区三区在线观看国产| 国内外成人在线视频| 欧美日韩在线播放| 中文字幕亚洲在| 国产精品综合一区二区三区| 欧美日韩在线一区二区| 国产精品久久久久久久久免费桃花| 青青草精品视频| 在线免费亚洲电影| 国产精品久久一卡二卡| 久久99深爱久久99精品| 欧美体内she精视频| 国产精品国产三级国产普通话蜜臀 | 国产乱码精品一品二品| 欧美另类久久久品| 亚洲精品免费一二三区| 国产不卡高清在线观看视频| 欧美日韩在线免费视频| 中文字幕一区二区三区在线观看| 国产一区二区在线看| 91精品国产免费| 丝袜脚交一区二区| 欧美日韩一区在线| 一区二区三区中文字幕在线观看| 成人黄色a**站在线观看| 久久精品一区四区| 国精产品一区一区三区mba桃花 | 成人三级伦理片| 26uuu欧美日本| 久久精品久久精品| 欧美一区二区三区性视频| 亚洲自拍偷拍九九九| 99久久99久久精品免费看蜜桃| 国产清纯在线一区二区www| 国产一区二区三区四区五区入口| 日韩一区二区视频在线观看| 日韩精品一卡二卡三卡四卡无卡| 欧美系列在线观看| 亚洲高清免费观看高清完整版在线观看| 91啦中文在线观看| 亚洲精品少妇30p| 欧美在线观看视频在线| 亚洲高清三级视频| 欧美日韩免费在线视频| 午夜精品影院在线观看| 777欧美精品| 开心九九激情九九欧美日韩精美视频电影| 欧美一区三区四区| 精品一区二区三区在线播放| xvideos.蜜桃一区二区| 国产suv一区二区三区88区| 日本一区二区综合亚洲| av在线这里只有精品| 国产精品色一区二区三区| 97精品国产露脸对白| 一区二区三区高清| 51精品视频一区二区三区| 麻豆免费精品视频| 国产日产欧产精品推荐色| 成人av网址在线| 亚洲主播在线观看| 9191久久久久久久久久久| 精品无人码麻豆乱码1区2区| 国产调教视频一区| 91美女精品福利| 日韩影院在线观看| 国产欧美综合在线观看第十页 | 欧美福利视频一区| 久久国产精品99久久久久久老狼| 久久蜜臀中文字幕| 色综合视频在线观看| 日韩国产精品久久| 久久综合999| 色一区在线观看| 蜜桃精品视频在线观看| 国产精品日韩成人| 欧美日韩亚洲综合一区| 激情图区综合网| 国产毛片一区二区| 亚洲欧美日韩国产另类专区| 91精品黄色片免费大全| 盗摄精品av一区二区三区| 亚洲综合男人的天堂| 2024国产精品视频| 色94色欧美sute亚洲13| 精品一区免费av| 一区二区三区 在线观看视频| 欧美一区二区观看视频| 99久久精品国产精品久久| 日韩精品91亚洲二区在线观看| 国产欧美日韩另类视频免费观看 | 国产精品美女久久久久aⅴ国产馆| 在线免费观看视频一区| 久久99久久99| 一区二区三区精密机械公司| 日韩一卡二卡三卡四卡| 91丨九色丨蝌蚪富婆spa| 免费人成网站在线观看欧美高清| 中文字幕五月欧美| ww久久中文字幕| 欧美精品免费视频| www.色精品| 国内精品嫩模私拍在线| 亚洲bt欧美bt精品| 国产精品成人在线观看| 精品国产一区二区三区久久影院| 91传媒视频在线播放| 成人精品免费看| 久久国产成人午夜av影院| 亚洲一区二区成人在线观看| 日本一区二区电影| 日韩午夜电影在线观看| 欧美日韩一区不卡| 91免费小视频| 成人午夜在线视频| 麻豆91小视频| 天天射综合影视| 亚洲永久精品大片| 亚洲私人黄色宅男| 中文字幕免费观看一区| 精品国产91久久久久久久妲己 | 666欧美在线视频| 色婷婷av久久久久久久| 成人黄动漫网站免费app| 精品久久久久久久久久久久久久久久久 | 久久综合色鬼综合色| 欧美裸体一区二区三区| 91美女视频网站| 91亚洲午夜精品久久久久久| 粉嫩久久99精品久久久久久夜| 精品无人码麻豆乱码1区2区| 日本不卡一二三| 日韩电影在线一区| 日韩影院免费视频| 日本aⅴ亚洲精品中文乱码| 亚洲成在人线在线播放| 亚洲一区二区三区三| 一区二区高清在线|