Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Javascript/JScript & ASP


  • From: javascript@xxxxxxxxxx (javascript@xxxxxxxxxx)
  • Subject: [Javascript] Javascript/JScript & ASP
  • Date: Mon, 18 Feb 2002 20:54:58 GMT

> hi:
> 
> i have a problem whith an ASP page using JavaScript/JScript that give an 
> error whenever i use any ASP object:
> 
> <%@language="JavaScript"%>
> <%
>  var us = Request.Form("nombre");
>  var pw = Request.Form("pasword");
>  var uscok = Request.Cookies ("usuario");
>  var pwcok = Request.Cookies ("contrasena");
> 

Are you trying to write asp variables into a client side script? Then would 
this work?

var us =
'<%=request.form("nombre")%>';