Hi, i'm having problems with a variable in Javascript that i'm trying to use with ASP but always get an error.
This is my code:
this is the error:
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/timer/Refresh.asp, líne 13, column 24
set rssave=conn.execute(
How can i solve this out?
Thx
This is my code:
Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="conn.vbs" -->
<html>
<head>
<meta http-equiv="refresh" content="300; URL=Refresh.asp">
<%
%>
<script language="javascript">
sqlact="update llamadas set tllamada='"+parent.document.clock.stwa.value+"' where nllam="+parent.document.clock.vrp.value;
<%response.write sqlact%>
<%rssave=server.CreateObject("adodb.recordset")
set rssave=conn.execute(%>sqlact<%)%>
document.write(sqlact);
</script>
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
this is the error:
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/timer/Refresh.asp, líne 13, column 24
set rssave=conn.execute(
How can i solve this out?
Thx