.htm传递参数!
http://nhjz.51.net/qinuwa/img.htm?http://www.52nh.com/hw/com.gif
http://www.52nh.com/hw/js/request.htm?username=用户名&id=用户ID
------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<style>
body,div,input,a,td{font-size:14px}
</style>
<title></title>
</head>
<body background="imgbg.gif">
<input type="text" name="name" size="20">
<input type="text" name="id" size="20">
<BODY onload=pic();>
<script>
function pic(){
var all,uname,id
var ll="&id=";
var l=ll.length;
var num1=top.location.search.indexOf("&");
var num2=top.location.search.indexOf("=");
var numid=top.location.search.indexOf("&");
uname=top.location.search.substr(num2+1,num1-num2-1);
id=top.location.search.substr(num1+l,100);
window.location="update.asp?username="+uname+"&id="+id;}
</script>
</body>
</html>
讨论一下这方面的应用!