当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > HTML DOM name属性
The name property sets or returns the name of a checkbox.
name属性可设置或返回checkbox的name
checkboxObject.name=name |
The following example prints the name of the checkbox:
输出checkbox的name:
<html> <form> <p>The name of the checkbox is: </body> |
Get the name of a checkbox
得到checkbox的name
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
吃惊 | 欠揍 | 支持 | 很棒 | 一般 | 搞笑 | 扯淡 | 不解 |