How to do onclick event in VBA/VBScript

前端 未结 1 1692
旧时难觅i
旧时难觅i 2021-01-26 11:42


        
相关标签:
1条回答
  • Here's what you're looking for:

    document.getElementById("tabnew").attachEvent "onclick",getref("onclick")

    First argument is the event ("onclick","onmouseover"... See: http://www.tutorialspoint.com/vbscript/vbscript_events.htm (very bottom of page for list of events)) Second argument is a getref of the name of your sub.

    0 讨论(0)
提交回复
热议问题