利用Javascript建立Web应用(2)
display.htm
以下是引用片段:
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=gb_2312-80">
<meta name="generator" content="microsoft frontpage express 2.0">
<title>client.</title>
</head>
<body bgcolor="#ffffff">
<server>
<p>client.name=request.name
client.sex=request.sex
client.birth=request.birth
client.address=request.address
client.zip=request.zip
client.tel=request.tel </p>
<p>write(client.name+"
")
write(client.birth+"
")
write(client.address+"
")
write(client.zip+"
")
write(client.tel+"
")
</server> </p>
<form action="finish.htm">
<p><input type="submit" value="继续"> </p>
</form>
</body>
</html>
record.htm
以下是引用片段:
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=gb_2312-80">
<meta name="generator" content="microsoft frontpage express 2.0">
<title>f=</title>
</head>
<body bgcolor="#ffffff">
<server>
<p>f=new file("student.txt")
f.open("a")
f.writeln(client.name)
f.writeln(client.sex)
f.writeln(client.birth)
f.writeln(client.address)
f.writeln(client.zip)
f.writeln(client.tel)
f.close() </p>
</server></body>
</html>
文章整理:iocblog
版权申明:本站文章均来自网络,如有侵权,请联系我们,我们收到后立即删除,谢谢!
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有。