xmlHttp.open("POST", "greeting.jsp", true);
xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlHttp.send("name="+name);
这里面的application/x-www-form-urlencoded什么意思?如果没这句程序也可以运行哦,为什么要加上呢?谢谢哦
xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlHttp.send("name="+name);
这里面的application/x-www-form-urlencoded什么意思?如果没这句程序也可以运行哦,为什么要加上呢?谢谢哦
楼主【wolfs】截止到2008-06-22 17:48:44的历史汇总数据(不包括此帖):
注册日期:2001-6-1
上次登录:2008-6-22
发帖数:67 发帖分:2100
结贴数:45 结贴分:1440
结贴率:67.16% 结分率:68.57%
楼主加油
指定表单向服务器提交的编码类型,默认就上这个
所以没有可以