$.ajax({
cache: true,
type: "POST",
url:"__URL__/index",
data:{name:$("#name").val()},
async: false,
datatype: "json",
error: function(request) {
alert("Connection error");
},
success: function(data) {
}
});firebug,看到传过来的是name=%E7%AC%AC%E4%B8%80%E8%BD%AE,我想知道在php后台应该怎么取到name,并输出到前台页面
------解决方案--------------------
那你看到的就不是 name=%E7%AC%AC%E4%B8%80%E8%BD%AE
name=第一轮