最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

reset Method

Internet Development Index

Simulates a mouse click on a reset button for the calling form.

Syntax

FORM.reset()

Return Value

No return value.

Remarks

The reset method fires the onreset event on the form.

Example

This example demonstrates how to use the reset method for a form object. When the button is pressed, the form is reset, resulting in the onreset event call on the form object. The onreset event calls an event handler which in turn adds the text Resetting form. to the text area below.

<HTML>
<HEAD>
<SCRIPT>
function doReset(){
oTextArea1.value += "Resetting form.  ";
}
</SCRIPT>
</HEAD>
<BODY>
<DIV id="oDiv1"
style="border:1px solid black; background:#EEEEEE; padding:10px;">
<B>Form</B>
<FORM name="form1" onreset="doReset();">
<b>Enter some text:</b> <INPUT type="text" name="oText1" value=""><BR><BR>
<BUTTON onclick="form.reset();">form.reset()</BUTTON>
</FORM>
</DIV>
<B>Text area</B><BR>
<TEXTAREA id="oTextArea1" value="" rows="5" cols="75"></TEXTAREA>
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

FORM
石泉县| 嘉峪关市| 荆门市| 孟连| 永登县| 玉环县| 庆云县| 霞浦县| 志丹县| 龙井市| 呼和浩特市| 衡东县| 大连市| 兖州市| 武邑县| 罗定市| 大悟县| 连州市| 柳林县| 罗田县| 封开县| 介休市| 化德县| 静安区| 固镇县| 天长市| 鹤岗市| 永嘉县| 土默特左旗| 济南市| 宁都县| 锦州市| 沂水县| 普格县| 商城县| 剑河县| 克拉玛依市| 平邑县| 林西县| 堆龙德庆县| 二连浩特市|