【发布时间】:2015-11-21 12:13:53
【问题描述】:
$('#button').click(function(){
$.ajax({
url : "test2.php",
data : $("#tab"),
type : "GET",
success : function(b){
b = eval('('+ b +')');
console.log((b['t']));
alert(b);
}
});
});
【问题讨论】:
-
您可以使用 JSON.parse - 几乎相同的问题。 stackoverflow.com/questions/9991805/…
标签: javascript php ajax html