json与jsonp

This is json: {"Name": "brucecham", "Id" : 32, "Rank": 7}
$.ajax({
			url: url,
			dataType:'jsonp',
			jsonp: "callback",
			jsonpCallback:"callbackFn",
			type:'get',
			cache: false,
            data: {},
			success: function(json){
				
			},
			error: function(e){
				
			}
		});
 

相关推荐