<script type="text/javascript"><!--
google_ad_client = "pub-1985112462197986";
/* 728x90, 创建于 09-2-14 */
google_ad_slot = "6386827701";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<
script language
=
"
javascript
"
>
xml = new ActiveXObject( " Microsoft.XMLHTTP " );
var post = " name=456789post " ; // 构造要携带的数据
xml.open( " POST " , " http://localhost/postdata/WebForm3.aspx " , false ); // 使用POST方法打开一个到服务器的连接,以异步方式通信
xml.setrequestheader( " content-length " ,post.length);
xml.setrequestheader( " content-type " , " application/x-www-form-urlencoded " );
xml.send(post); // 发送数据
var res = xml.responseText; // 接收服务器返回的数据
document.write(res);
</ script >
取职
string name = Request[ " name " ].ToString();
Response.Clear();
Response.Write( " 789798 " + name);
Response.End();
xml = new ActiveXObject( " Microsoft.XMLHTTP " );
var post = " name=456789post " ; // 构造要携带的数据
xml.open( " POST " , " http://localhost/postdata/WebForm3.aspx " , false ); // 使用POST方法打开一个到服务器的连接,以异步方式通信
xml.setrequestheader( " content-length " ,post.length);
xml.setrequestheader( " content-type " , " application/x-www-form-urlencoded " );
xml.send(post); // 发送数据
var res = xml.responseText; // 接收服务器返回的数据
document.write(res);
</ script >
取职
string name = Request[ " name " ].ToString();
Response.Clear();
Response.Write( " 789798 " + name);
Response.End();
escape()解决中文问题