Hi all
Have a dilema
I have an image with an onclick event.
This onclick event needs to pass a Jscript function two parameters. The first one is numeric, so thats fine. The second is character.
The code is below.
<%
response.write("<img border='0' src='buttons/documents.gif' onclick='myfunction(" & rtrim(myset("userid") & ", " & rtrim(myset("username") & "'>"
%>
This does not work because it really wants either " or ' around the strung in username.
Any ideas how I can reformat my string so it will work?
Thanks
ITFlash