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

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

?? methods.html

?? javascript中文教程
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
<H3>Syntax</H3>
<P>confirm("<I>message</I>")
<P>The argument <I>message</I> is any string.

<H3>Description</H3>
<P>Use the confirm method to ask the user to make a decision that requires either an OK or a Cancel. The <I>message</I> argument specifies a message that prompts the user for the decison. The confirm method returns true if the user chooses OK and false if the user chooses Cancel.

<H3>Applies to</H3>
<P><A HREF=objects.html#window_object>window</A>

<H3>Examples</H3>
<P>This example uses the confirm method in the confirmCleanUp function to confirm that the user of an application really wants to quit. If the user chooses OK, the custom cleanUp() function closes the application.
<PRE>
function confirmCleanUp() {
   if (confirm("Are you sure you want to quit this application?")) {
      cleanUp()
   }
}</PRE>
You can call the confirmCleanUp function in the onClick event handler of a form's pushbutton, as shown in the following example:
<PRE>&ltINPUT TYPE="button" VALUE="Quit" onClick="confirmCleanUp()"&gt</PRE>


<H3>See also</H3>
<LI><A HREF=#alert_method>alert</A>, <A HREF=#prompt_method>prompt</A> methods
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="cos_method"><H2>cos method</H2></A>
<P>
Returns the cosine of its argument. The argument is in radians.

<H3>Syntax</H3>
<PRE>cos(<I>arg</I>)</PRE>

<H3>Applies to</H3>
<P><A HREF=objects.html#Math_object>Math</A>

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

<H3>See also</H3>
<LI><A HREF=#acos_method>acos</A>, <A HREF=#asin_method>asin</A>, <A HREF=#atan_method>atan</A>, <A HREF=#sin_method>sin</A>, <A HREF=#tan_method>tan</A> methods
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="eval_method"> <H2>eval function</H2></A>
<P>
The eval function is a function built-in to JavaScript. It is not a method associated with any object, but is part of the language itself.


<H3>Syntax</H3>
<PRE>eval(<I>expression</I>)</PRE>


<H3>Description</H3>
<P>The eval function takes a JavaScript arthimetic expression as its argument and returns the value of the argument as a number.


<H3>Example</H3>
<P>Both of the uses of eval in the following example assign the value 42 to the variable result.
<PRE>x = 6
result = eval((3+3)*7)
result = eval(x*7)
</PRE>


<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="exp_method"><H2>exp method</H2></A>
<P>
Returns <I>e</I> to the power of its argument, i.e. e<SUP>x</SUP>, where <I>x</I> is the argument, and <I>e</I> is Euler's constant, the base of the natural logarithms.

<H3>Syntax</H3>
<PRE>exp(<I>arg</I>)</PRE>

<H3>Applies to</H3>
<P><A HREF=objects.html#Math_object>Math</A>

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

<H3>See also</H3>
<LI><A HREF=#log_method>log</A> method
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="fixed_method"><H2>fixed method</H2></A>
<P>
Causes the calling string object to be displayed in fixed-pitch font in HTML by surrounding it with typewriter text tags, <TT> &ltfixed&gt ... &lt/fixed&gt.</TT>

<H3>Syntax</H3>
<PRE>fixed()</PRE>
<B>NOTE:</b> For Beta4, use TT() for this method.

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

<H3>Applies to</H3>
<P><A HREF=objects.html#string_object>string</A>

<H3>Examples</H3>
<P>xxx Examples to be supplied.
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="floor_method"><H2>floor method</H2></A>
<P>
Returns the greatest integer less than or equal to its argument.

<H3>Syntax</H3>
<PRE>floor(<I>arg</I>)</PRE>

<H3>Applies to</H3>
<P><A HREF=objects.html#Math_object>Math</A>

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

<H3>See also</H3>
<LI><A HREF=#ceil_method>ceil</A> method
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="focus_method"><H2>focus method</H2></A>
<P>
For password, text, and textArea, gives focus to the object.

<H3>Syntax</H3>
<PRE>focus()</PRE>

<H3>Description</H3>
<P>Use the focus method to navigate to a specific form element and give it focus. You can then either programatically enter a value in the element or let the user enter a value.

<H3>Applies to</H3>
<P><A HREF=objects.html#password_object>password</A>, <A HREF=objects.html#text_object>text</A>, <A HREF=objects.html#textArea_object>textArea</A>

<H3>Examples</H3>
<P>In the following example, the checkPassword function confirms that a user has entered a valid password. If the password is not valid, the focus method returns focus to the password field and the select method highlights 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>See also</H3>
<LI><A HREF=#blur_method>blur</A>, <A HREF=#select_method>select</A> methods
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="fontcolor_method"><H2>fontcolor method</H2></A>
<P>
Causes the calling string object to be displayed in the specified color by surrounding it with HTML font color tags, <TT> &ltFONTCOLOR=color&gt ... &lt/FONTCOLOR&gt.</TT>

<H3>Syntax</H3>
<PRE>fontcolor(<I>color</I>)</PRE>
<P>The argument to the method, <I>color</I>, must be a string containing a hashmark (#) followed by a triplet of hexadecimal number pairs. These three pairs represent the red, green, and blue values for the desired color, respectively.

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

<H3>Applies to</H3>
<P><A HREF=objects.html#string_object>string</A>

<H3>Examples</H3>
<P>xxx Examples to be supplied.
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="fontsize_method"><H2>fontsize method</H2></A>
<P>
Causes the calling string object to be displayed in the specified font size by surrounding it with HTML font size tags, <TT> &ltFONTSIZE=size&gt ... &lt/FONTSIZE&gt.</TT>

<H3>Syntax</H3>
<PRE>fontsize(<I>size</I>)</PRE>
<P>The argument to the method, <I>size</I>, must be an integer between one and seven.

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

<H3>Applies to</H3>
<P><A HREF=objects.html#string_object>string</A>

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

<H3>See also</H3>
<LI><A HREF=#big_method>big</A>, <A HREF=#small_method>small</A> methods
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="forward_method"><H2>forward method</H2></A>
<P>
Loads the next URL in the history list.

<H3>Syntax</H3>
<PRE>forward()</PRE>

<H3>Description</H3>
<P>This method performs the same action as a user choosing the Forward button in the Navigator. The forward method is the same as <TT>go(1)</TT>.

<H3>Applies to</H3>
<P><A HREF=objects.html#history_object>history</A>

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

<H3>See also</H3>
<LI><A HREF=#back_method>back</A>, <A HREF=#go_method>go</A> methods
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="getDate_method"><H2>getDate method</H2></A>

<H3>Syntax</H3>
<CODE>dateObj.getDate()</CODE>
<P>
where <code>dateObj</code> is a date object.

<H3>Description</H3>
<P>Returns the day of the month for the date object, an integer between 1 and 31.

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>
<P>
The second statement below assigns the value 25 to the variable day, based on the value of the date object Xmas95.
<PRE>
Xmas95 = new Date("December 25, 1995 23:15:00")
day = Xmas95.getDate()
</PRE>

<H3>See also</H3>
<LI>xxx To be supplied.
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="getDay_method"><H2>getDay method</H2></A>

<H3>Syntax</H3>
<CODE>dateObj.getDay() </CODE>
<P>
where <code>dateObj</code> is a date object.

<H3>Description</H3>
<P>
Returns the day of the week for the date object, an integer corresponding
to the day of the week: zero for Sunday, one for Monday, two for Tuesday, 
and so on. 

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>
<P>
The second statement below assigns the value 1 to weekday, 
based on the value of the date object Xmas95. This is because December 25, 1995 is a Monday.
<PRE>
Xmas95 = new Date("December 25, 1995 23:15:00")
weekday = Xmas95.getDay()
</PRE>


<H3>See also</H3>
<LI>xxx To be supplied.
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="getHours_method"><H2>getHours method</H2></A>
<H3>Syntax</H3>
<PRE>dateObj.getHours()</PRE>
<P>
where <code>dateObj</code> is a date object.

<H3>Description</H3>
<P>
Returns the hour for the date object, an integer between 0 and 23.

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>
<P>
The second statement below assigns the value 23 to the variable hours, based on the value of the date object Xmas95.
<PRE>
Xmas95 = new Date("December 25, 1995 23:15:00")
hours = Xmas95.getHours()
</PRE>


<H3>See also</H3>
<LI>xxx To be supplied.
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="getMinutes_method"><H2>getMinutes method</H2></A>
<H3>Syntax</H3>
<CODE>dateObjgetMinute() </CODE>
<P>
where <code>dateObj</code> is a date object.

<H3>Description</H3>
<P>
Returns the minutes in the date object, an integer between 0 and 59.

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>
<P>
The second statement below assigns the value 15 to the variable minutes, based on the value of the date object Xmas95.
<PRE>
Xmas95 = new Date("December 25, 1995 23:15:00")
minutes = Xmas95.getMinutes()
</PRE>

<H3>See also</H3>
<LI>xxx To be supplied.
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="getMonth_method"><H2>getMonth method</H2></A>
<H3>Syntax</H3>
<CODE>dateObj.getMonth() </CODE>
<P>
where <code>dateObj</code> is a date object.

<H3>Description</H3>
<P>
Returns the month in the date object, an integer between zero and eleven. Zero corresponds to January, one to Februrary, and so on.

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>
<P>
The second statement below assigns the value 11 to the variable month, based on the value of the date object Xmas95.
<PRE>
Xmas95 = new Date("December 25, 1995 23:15:00")
month = Xmas95.getDate()
</PRE>


<H3>See also</H3>
<LI>xxx To be supplied.
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="getSeconds_method"><H2>getSeconds method</H2></A>
<H3>Syntax</H3>
<P><CODE>dateObj.getSeconds() </CODE>
<P>
where <code>dateObj</code> is a date object.

<H3>Description</H3>
<P>
Returns the seconds in the current time, an integer between 0 and 59.

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>
<P>
The second statement below assigns the value 30 to the variable secs, 
based on the value of the date object Xmas95.
<PRE>
Xmas95 = new Date("December 25, 1995 23:15:30")
secs = Xmas95.getSeconds()
</PRE>

<H3>See also</H3>
<LI>xxx To be supplied.

<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="getTime_method"><H2>getTime method</H2></A>
<H3>Syntax</H3>
<CODE>dateObj.getTime() </CODE>
<P>
where <code>dateObj</code> is a date object.

<H3>Description</H3>
<P>
Returns the numeric value for the date object.
This number is the number of milliseconds since the epoch (1 January 1970 00:00:00)
You can use this method to help assign a date and time to another date object.

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>
<P>
The following example assigns the date value of theBigDay to sameAsBigDay.

<PRE>
theBigDay = new Date("July 1, 1999")
sameAsBigDay = new Date();
sameAsBigDay.setTime(theBigDay.getTime())
</PRE>

<H3>See also</H3>
<LI>xxx To be supplied.

<!----------------------------------------------------------------->
<HR>
<A NAME="getTimezoneOffset_method"><H2>getTimezoneOffset method</H2></A>

<H3>Syntax</H3>
<CODE>dateObj.getTimezoneOffset()</CODE>
<P>
where <code>dateObj</code> is a date object.

<H3>Description</H3>
<P>
Return the time zone offset in minutes for the current locale, i.e. the 
difference between the local time and GMT. 
This value would be a constant except for daylight savings time. 

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>

<PRE>
x = new Date();
currentTimeZoneOffsetInHours = x.getTimezoneOffset()/60;
</PRE>

<H3>See also</H3>
<LI>xxx To be supplied.

<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="getYear_method"><H2>getYear method</H2></A>
<H3>Syntax</H3>
<P><PRE>getyear()</PRE>

<H3>Description</H3>
<P>
Returns the year in the date object, less 1900.

<H3>Applies to</H3>
<P><A HREF=objects.html#Date_object>Date</A>

<H3>Examples</H3>
<P>
The second statement below assigns the value 95 to the variable year, based on the value of the date object Xmas95.
<PRE>
Xmas95 = new Date("December 25, 1995 23:15:00")
year = Xmas95.getYear()
</PRE>


<H3>See also</H3>
<LI>xxx To be supplied.
<!------------------------------------------------------------------------------------------------>
<HR>
<A NAME="go_method"><H2>go method</H2></A>
<P>
The argument delta is an integer. If <i>delta</i>&nbsp; is greater than zero, then it loads the URL that is that number of entries forward in the history list; otherwise, it loads the URL that is that number of entries backward in the history list.
<P>
The argument string is a string. Go to the newest history entry whose title or URL contains string as a substring; substring matching is case-insensitive.

<H3>Syntax</H3>
<PRE>go(delta | "string")</PRE>

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

<H3>Applies to</H3>
<P><A HREF=objects.html#history_object>history</A>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线播放日韩导航| 成人性生交大片免费看在线播放| 欧亚洲嫩模精品一区三区| 亚洲免费视频中文字幕| 日本韩国欧美在线| 亚洲国产婷婷综合在线精品| 欧美日韩国产一二三| 奇米在线7777在线精品| 2024国产精品| 成人高清视频在线| 亚洲综合激情小说| 日韩一区二区三区在线观看| 国产一区二区看久久| 亚洲欧洲日韩女同| 欧美精品第1页| 国产精品888| 亚洲愉拍自拍另类高清精品| 日韩视频永久免费| 99久久综合99久久综合网站| 亚洲激情一二三区| 精品久久久久一区| 色国产综合视频| 蜜桃视频在线观看一区| 国产精品另类一区| 7777精品伊人久久久大香线蕉经典版下载 | 91视频国产观看| 曰韩精品一区二区| 日韩一级二级三级| 99久久伊人精品| 蜜臀久久久久久久| 亚洲欧洲日本在线| 日韩欧美亚洲国产另类| 99久久久精品| 国产一区二区三区在线观看免费| 亚洲欧美另类在线| 久久久综合精品| 欧美精品第1页| 99精品偷自拍| 国产尤物一区二区| 五月综合激情婷婷六月色窝| 亚洲欧洲日韩在线| 久久久www成人免费毛片麻豆| 欧美性一二三区| 成人国产视频在线观看| 九色|91porny| 三级久久三级久久久| 一区二区三区资源| 国产精品久久久久久亚洲伦| 精品久久久久99| 91精品国产色综合久久不卡蜜臀 | 欧美视频中文一区二区三区在线观看| 国产做a爰片久久毛片| 天堂av在线一区| 亚洲国产精品久久一线不卡| 亚洲欧洲日韩av| 国产精品福利影院| 国产婷婷精品av在线| 精品奇米国产一区二区三区| 欧美精品一卡二卡| 欧美网站一区二区| 欧美亚洲禁片免费| 欧美性猛片xxxx免费看久爱| 91在线观看成人| 91在线一区二区| 国产a精品视频| 国产成人综合亚洲91猫咪| 麻豆91在线看| 精品中文字幕一区二区小辣椒| 午夜精品福利一区二区三区蜜桃| 亚洲与欧洲av电影| 午夜欧美大尺度福利影院在线看| 亚洲国产你懂的| 亚洲第一主播视频| 五月婷婷另类国产| 免费人成黄页网站在线一区二区 | 久久久久久97三级| 久久久精品国产免费观看同学| www国产精品av| 国产女同互慰高潮91漫画| 国产人成一区二区三区影院| 久久嫩草精品久久久精品一| 国产日产精品一区| 中文字幕制服丝袜一区二区三区| 国产精品理伦片| 一区二区国产视频| 视频一区中文字幕国产| 日本va欧美va瓶| 国产精品一卡二卡| 成a人片亚洲日本久久| av在线一区二区| 91极品美女在线| 日韩午夜精品视频| 久久久一区二区三区捆绑**| 1024成人网| 五月婷婷色综合| 国产美女娇喘av呻吟久久| 高清不卡一二三区| 日本精品裸体写真集在线观看| 欧美卡1卡2卡| 国产欧美一区二区精品久导航| 亚洲欧洲成人精品av97| 亚洲一区二区三区中文字幕在线| 日韩av高清在线观看| 国产91精品露脸国语对白| 色婷婷av一区二区三区大白胸| 欧美日韩一区精品| 精品电影一区二区三区| 国产精品毛片无遮挡高清| 亚洲一区二区美女| 国产一区二区三区日韩| 色妞www精品视频| 日韩亚洲欧美成人一区| 国产精品全国免费观看高清| 午夜伊人狠狠久久| 国产精品99久久久久久似苏梦涵| 91视频在线观看免费| 日韩视频一区在线观看| 最新久久zyz资源站| 奇米一区二区三区av| 99久久夜色精品国产网站| 日韩视频免费观看高清完整版| 中文字幕免费在线观看视频一区| 亚洲国产精品久久久男人的天堂 | 欧美精品一区二区三区久久久| 亚洲日本青草视频在线怡红院| 久久成人羞羞网站| 在线精品视频一区二区三四| 国产性色一区二区| 日本不卡一区二区三区| 99re热这里只有精品视频| 精品粉嫩超白一线天av| 午夜国产不卡在线观看视频| av成人免费在线| 久久蜜桃av一区二区天堂| 日韩精品福利网| 色欧美88888久久久久久影院| 久久久精品免费观看| 蜜臀91精品一区二区三区| 欧美三级午夜理伦三级中视频| 国产精品色婷婷久久58| 精东粉嫩av免费一区二区三区| 欧美猛男男办公室激情| 亚洲乱码日产精品bd| 成人黄色av电影| 久久久久成人黄色影片| 久久精品国产精品青草| 欧美日韩国产综合视频在线观看 | 中文字幕成人av| 国产精品18久久久久久久网站| 日韩一区二区三区免费观看| 午夜视频一区二区三区| 欧美视频一区二区在线观看| 亚洲精品你懂的| 色诱视频网站一区| 国产精品福利av| 成人不卡免费av| 国产日产欧美精品一区二区三区| 国产乱码精品一区二区三区五月婷| 日韩女优制服丝袜电影| 久久精品国产一区二区三 | 国产区在线观看成人精品 | 久久精品一级爱片| 国产精品亚洲第一| 久久久久国产一区二区三区四区| 精品一区二区三区免费| 欧美大片日本大片免费观看| 裸体在线国模精品偷拍| 精品区一区二区| 国产成人高清在线| 中文乱码免费一区二区| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 日本欧美一区二区在线观看| 91麻豆精品国产综合久久久久久| 五月天国产精品| 日韩欧美一区二区不卡| 韩国理伦片一区二区三区在线播放| 欧美变态tickling挠脚心| 国模大尺度一区二区三区| 中文字幕精品一区二区三区精品| 成人的网站免费观看| 亚洲综合成人在线视频| 欧美一区二区三区在线观看| 国内久久精品视频| 中文字幕一区三区| 欧洲一区在线电影| 免费成人深夜小野草| 国产午夜一区二区三区| 99精品视频一区二区| 亚洲成人av一区二区三区| 欧美va在线播放| 成人av电影免费在线播放| 伊人色综合久久天天人手人婷| 欧美精品久久一区| 国产高清在线精品| 亚洲成人高清在线| 26uuu欧美| 色综合色综合色综合色综合色综合| 五月综合激情网| 中文一区二区完整视频在线观看| 在线国产亚洲欧美|