2015-04-03

js pajax调用实例

$.ajax({
  type:"GET",
  dataType: 'jsonp',
  jsonp: 'callback', 
  jsonpCallback:"callback",
  url:url,
  async: false,
  success:function(responseText){
   console.log(responseText)
   $('#divResult').html(responseText+" 00");
   }
   });
}