欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

HTML DOM form 屬性

定義和用法

form 屬性返回對(duì)包含該元素的表單對(duì)象的引用。

語法

checkboxObject.form

實(shí)例

下面的例子返回了該 checkbox 所屬的表單的 id:

<html>
<body>

<form id="form1">
<input type="checkbox" id="check1" />
</form>

<p>The form containing the checkbox is: 
<script type="text/javascript">
x=document.getElementById('check1');
document.write(x.form.id);
</script></p>

</body>
</html>