用那个方法可以获取到复选框被选中了?
<tdclass="list_body_out" colspan=3width="89%"><input type='checkbox' name='cqzcslx' value='1'onclick='changeqzcslx(0);' class='text_12' >石家庄
<input type='checkbox' name='cqzcslx' value='2'onclick='changeqzcslx(1);' class='text_12' >邢台
<input type='checkbox' name='cqzcslx' value='3'onclick='changeqzcslx(2);' class='text_12'>邯郸
<input type='checkbox' name='cqzcslx' value='9'onclick='changeqzcslx(7);' class='text_12' >其他
<input name='qzcslx' value='' type='hidden'><input name='tccxx' value='' type='hidden'></td>用什么方法可以获取到选种的复选框啊? 思路混乱中...复选框谁选中的?你要监控他人的操作吗? 回复 2# shqf
没有的,已经解决了。采用的方法是倒
$chks=_IETagNameGetCollection($oIE,"input")
For $target In $chks
If $target.checked = True Then
$a=$target.value
If $a=1 Then
MsgBox(0,"0","扣留机动机")
ElseIf $a=2 Then
MsgBox(0,"0","扣留非机动车")
ElseIf $a=3 Then
MsgBox(0,"0","扣留驾驶证")
ElseIf $a=4 Then
MsgBox(0,"0","扣留行驶证")
ElseIf $a=5 Then
MsgBox(0,"0","收缴物品")
ElseIf $a=6 Then
MsgBox(0,"0","拖移机动车")
ElseIf $a=7 Then
MsgBox(0,"0","检验血液/尿样")
ElseIf $a=9 Then
MsgBox(0,"0","其他")
EndIf
EndIf
Next
页:
[1]