日期:2014-05-16 浏览次数:20680 次
$.ajax
(
{
type: "post",
url: urlAdd,
dataType: "jeson", //传输的数据类型
contentType: "application/json",
data: '{"state":"' + val + '"}',
error: function (x, e) {
alert(x.responseText);
return false;
},
success: function (data) {
alert("OK");
var i;
var json = eval(data);