I need the follwing line (vbscript+jscript) to send 'theText' variable content,
with ' ' before and after the variable, so it will be considered as a string,
when it reaches the jscript "go(text)" function.
Any ideas?
<head>
<script language="javascript>
function go(text){
alert(text);
</script>
</head>
<body>
<%
...
response.write("<a href=' onmouseover='go(" & theText & "'>click</a>"
...
%>
</body>
with ' ' before and after the variable, so it will be considered as a string,
when it reaches the jscript "go(text)" function.
Any ideas?
<head>
<script language="javascript>
function go(text){
alert(text);
</script>
</head>
<body>
<%
...
response.write("<a href=' onmouseover='go(" & theText & "'>click</a>"
...
%>
</body>