Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with javascript code
Message
From
27/03/2003 12:09:07
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Problems with javascript code
Miscellaneous
Thread ID:
00770811
Message ID:
00770811
Views:
35
Hello, i have this problem i'm using in asp page with vbscript a code in order to redirect with javascript to a web page, and this is my code:
codjs="<script language='JavaScript'>"
  codjs=codjs+"location.href='Ing_modulos.asp?cod='"
  codjs=codjs+request("cod")
  codjs=codjs+";"
  codjs=codjs+"</script>"
  response.Write(codjs)
and it displays the next message error:
It's requeried ';'

if i saw the code source of the page loaded it shows this:
<script language='JavaScript'>location.href='Ing_modulos.asp?cod='123;</script>
what's wrong wih this code and how can i fix it?
Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform