Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with javascript code
Message
De
27/03/2003 12:09:07
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Problems with javascript code
Divers
Thread ID:
00770811
Message ID:
00770811
Vues:
34
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform