Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with javascript code
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00770811
Message ID:
00770822
Views:
11
The closing quotes must be after the "123" in your sample.

hth :-)


>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
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform