temp = "\r\n{\"conversion\":{\r\n\"decimal\":12}}";
返回值
jqery的ajax使用
$.ajax({
url: 'ajax.aspx?type=xml',
type: 'get',
datatype: 'json',
timeout: 1000,
error: function(){
alert('error loading xml document');
},
success: function(data){
alert(data['conversion']['decimal']);
}
});
posted on 2009-04-14 15:46
sanmao 阅读(1835)
评论(1)