Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/08/2002, 12:12
alezaph
 
Fecha de Ingreso: abril-2002
Mensajes: 118
Antigüedad: 22 años, 2 meses
Puntos: 1
Incrustar o agregar asp en codigo JavaScrip

Como Incluyo condigo asp en JavaScript,,

en html, lo que hago esa asi:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<%= Request("HOLA") %>
</body>
</html>

LO quise hacer asi , pero no me funciona

function MM_validateForm()
{ //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_valida teForm.arguments;
for (i=0; i<(args.length-2); i+=3)
{
test=args[i+2]; val=MM_findObj(args);
if (val)
{

nm=val.name; if ((val=val.value) ==<%=Request.Form("FICHA")%>)
alert('The following error(s) occurred:\n'+errors);
}

}
}
//-->
</script>

Como le hago para hacer esto