ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

for each ¥Îªk

for each ¥Îªk

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

¤w¸Ñ¨M!
ÁÂÁÂ!

TOP

Set itemlist = IE.document.getElementsByClassName("quantumWizMenuPaperselectOption")
For Each Item In itemlist
     N=N+1
    IF N>1 THEN
    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
   END IF
Next

TOP

        ÀR«ä¦Û¦b : ÀR§¤±`®¦¤v¹L¡B¶¢½Í²ö½×¤H«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD