先生 。有一些没有 id 的 html 按钮。我想访问这些具有相同类型名称和值的 html 按钮。但是由于它们的名称和值相同,我无法访问。你能指导我一下下面是给出的源代码吗
<FORM NAME='f1' METHOD='post' action='dfassfeed21.php'><INPUT TYPE='hidden' NAME='txtid' value='E712050-15'><INPUT TYPE='hidden' NAME='txtpsw' value='HH29'><INPUT TYPE='hidden' NAME='txtassno' value='1'><INPUT TYPE='SUBMIT' NAME='btnSub' value='Start' style='background-color:#009900; color:#fff;'></FORM>
<FORM NAME='f1' METHOD='post' action='dfassfeed21.php'><INPUT TYPE='hidden' NAME='txtid' value='E712050-15'><INPUT TYPE='hidden' NAME='txtpsw' value='HH29'><INPUT TYPE='hidden' NAME='txtassno' value='2'><INPUT TYPE='SUBMIT' NAME='btnSub' value='Start' style='background-color:#009900; color:#fff;'></FORM>
<FORM NAME='f1' METHOD='post' action='dfassfeed21.php'><INPUT TYPE='hidden' NAME='txtid' value='E712050-15'><INPUT TYPE='hidden' NAME='txtpsw' value='HH29'><INPUT TYPE='hidden' NAME='txtassno' value='1'><INPUT TYPE='SUBMIT' NAME='btnSub' value='Start' style='background-color:#009900; color:#fff;'></FORM>
.
.
.
.
.
.
.
.
.
.
<FORM NAME='f1' METHOD='post' action='dfassfeed21.php'><INPUT TYPE='hidden' NAME='txtid' value='E712050-15'><INPUT TYPE='hidden' NAME='txtpsw' value='HH29'><INPUT TYPE='hidden' NAME='txtassno' value='1'><INPUT TYPE='SUBMIT' NAME='btnSub' value='Start' style='background-color:#009900; color:#fff;'></FORM>