actually I believe his problem is in trying to convert a var type int, which is what 1000 is, to string, try:
array(4) = 1000
document.write("<td onclick=Show("+cstr(array(4))+")>Test</td>")
Sub Show(msg)
msgbox(msg)
End Sub
all should be well
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.