日期:2014-05-16 浏览次数:20833 次
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<script>
function Post(Url, Args)
{
var shows=Args;
xmlhttp = new window.XMLHttpRequest();
if(null != xmlhttp)
{
xmlhttp.open("GET", Url, true);
xmlhttp.onreadystatechange=function(){
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById("showText").value=xmlhttp.responseText;
}
}
xmlhttp.send();
}
}
</script>
</head>
<body>
<hi><%=Now%></hi>
<textarea id="showText" cols="50" rows="20">
</textarea>
<script>
Post("new.asp","");
</script>
</body>
</html>
<%@LANGUAGE="VBSCRIPT"%>
<%
Response.Write("hello world")
%>
<%@LANGUAGE="VBSCRIPT"%>
<%
Response.charset="gb2312"'''加这句试试
Response.Write("hello world")
%>