sir
I 'm working with the wrox's BEGINNING JAVASCRIPT book and i tested the example page 657, chapter 15. WHEN I ' type
http://localhost/FormSimple.htm i guet the message:
Erreur de compilation Microsoft VBScript error '800a04001' fin d' instruction attendue.
Dim objASPerror, blnErrorWritten, STRServerName, strServerIP,DimstrMethod,InfoPos, datNow,strQueyString,StrURL
Pages ASP error 'ASP 0212'
command directive @ not valid
/recevoirFormSimple.asp,line 4
l 'option ' LANGAGE=Javascript' unknown or not valid
----------------------------------------
this is the example 's code:
<html>
<body>
<FORM ACTION=RecevoirFormSimple.asp METHOD=POST ID=form1 NAME=form1>
<P>
Prenom: <INPUT ID=txtPrenom NAME=txtPrenom>
</P>
<P>
Nom: <INPUT ID=txtNom Name=txtNomFamille>
</P>
</form>
</BODY>
</html>
this is the code of 'RecevoirFormSimple.asp:
<%@ LANGAGE = JavaScript%>
<HTML>
<HEAD>
<%
var nomFamille = Request.Form("txtNomFamille ")
%>
<BODY>
<P>La valeur que vous avez entré pour votre prenom était
<%= Request.Form("txtPrenom") </P>
<p>la valeur que vous avez entre pour votre nom etait
<%= nomFamille%><P>
</BODY>
</HTML>
Thank you very much for your help.
For any response please mail it to
[email protected]
my PC IS HP N*7010
OS: WINDOWS xp professionnel with IIS5.0