has anyone experience with passing a parameter to a function called with getref ?
Following code is just an example, doens't work, how to pass the parameter to the mySub sub?
<button id="myBtn">Click me</button>
<script type="text/vbscript">
document.getElementById("myBtn").onclick=GetRef("mySub")
Sub mySub(parameter)
alert(parameter)
End Sub
</script>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…