1. 如何把js获取的数据传递给php
方法1 js的location 或 document 的url传值 方法2 js的submit提交方法3 js的ajax数据可以是简单的字符串 也可以是 json格式或 xml等