dxx2009221 发表于 2013-1-23 02:48:54

ajax :使用xmlHttpRequest(cont.)

1.Demo 4 -使用Header
2.步骤:

1>构造XMLHttpRequest并调用open
2>指定onreadystatechange回调函数
3>设置Header并调用send
4>服务器端操作Header
5>使用getResponseHeader获得待定Header
6>使用getAllResponseHeader获得所有Header
页: [1]
查看完整版本: ajax :使用xmlHttpRequest(cont.)