I have this:
id="ctl32_ctl04_ctl07_divDropDown_ctl32" type="checkbox" name="ctl32$ctl04$ctl07$divDropDown$ctl32" onclick="$get('ctl32_ctl04_ctl07').control.OnValidValueClick(this, 'ctl32_ctl04_ctl07_divDropDown_ctl00');" /><label for="ctl32_ctl04_ctl07_divDropDown_ctl32">Product</label></span></td>
And I'm trying to select the checkbox.
I've tried everything I can to select it. At one point I got it clicked but it didn't really select it so much as appearing to put a check in the box.
This is something I found and had hopes for but maybe I'm using it wrong.
Set elems = HTMLdoc.getElementById("ctl32_ctl04_ctl07_divDropDown_ctl00")
For Each e In elems
If (e.getAttribute("value") = "ctl32_ctl04_ctl07_divDropDown_ctl00") Then
e.Click
Exit For
End If
Next e
I'd appreciate any help.
Aucun commentaire:
Enregistrer un commentaire