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']);
}
});