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

});

相关文章:

  • 2021-12-01
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
  • 2021-06-01
  • 2021-05-02
  • 2021-11-20
  • 2022-12-23
猜你喜欢
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案