亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

HTML DOM type 屬性

定義和用法

type 屬性可返回表單元素的類型。Button 對象的類型始終是 "button"。

語法

buttonObject.type

實例

下面的例子將返回按鈕的表單元素類型:

<html>
<head>
<script type="text/javascript">
function alertType()
{
alert(document.getElementById("myButton").type)
}
</script>
</head>

<body>
<form>
<input type="button" value="Click me!" id="myButton"
onclick="alertType()" />
</form>
</body>

</html>