返回列表 上一主題 發帖

網頁填寫

回復 3# ssooi



    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

TOP

        靜思自在 : 【時間如鑽石】時間對一個有智慧的人而言,就如鑽石般珍貴;但對愚人來說,卻像是一把泥土,一點價值也沒有。
返回列表 上一主題