-
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)
- 热议问题