·Q½Ð±ÐFor Each¦³¿ìªk±q²Ä¤GÓ¶}©l¶Ü?
¯à°÷¸õ¹L²Ä¤@Ó¡Bª½±µ±q²Ä¤GÓ¶}©l¶Ü?
ÁÂÁ¤j®a- Set itemlist = IE.document.getElementsByClassName("quantumWizMenuPaperselectOption")
- For Each Item In itemlist
- If Item.getAttribute("data-value") Like "PM" Then
- Item.classList.Add ("isSelected")
- Item.setAttribute "aria-selected", "true"
- Item.setAttribute "tabindex", "0"
- Else
- Item.classList.Remove ("isSelected")
- Item.setAttribute "aria-selected", "false"
- Item.setAttribute "tabindex", "-1"
- End If
- Next
½Æ»s¥N½X |