编程论坛's Archiver

coderlee 发表于 2006-5-12 00:28

XMLHTTPRequest对象POST方式 Send方法无法传送数据的解决方法

仍然为了大家别走弯路  我刚测试的时候 open中指定使用post方式传递数据<BR><BR>send("Content=123")<BR><BR>content = Request.Form("Content")是接受不到数据的<BR><BR>在open方法前加入<BR>
<DIV class=HtmlCode>  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");</DIV><BR>就可以了

nicholas49 发表于 2006-5-17 17:31

thx

yangwudong 发表于 2006-6-9 09:55

很好啊!楼上的是个美女吗?好漂亮啊!不是说做计算机的没有美女吗?

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.