-2
先生。有一些沒有id的html按鈕。我想訪問這些具有相同類型名稱和值的HTML按鈕。但由於其相同的名稱和價值,我無法訪問。你可以plz指導我關於下面的是源代碼給出訪問由vb.net具有相同名稱和值的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>
請注意,CSS3'第n-child'在IE8或以上不被支持 – compid