can’t seem to get the syntax right in order to pass the AttID variable. This line of code is in a for loop so I have to print using vbs response.write and not just straignt html.
Response.Write '<TD class=alt><input type=button onclick=deleteRecordAtt(AttID) value=remove></TD></TR>'
I haven’t done VBScript in 8+ years, but you might want to try:
This would give you the more accepted html attribute quoting.
Also, your AttID variable is a client script variable? If not, you’d need to concat the server variable inline, e.g.