My ajax code is
$.ajax({
type: \'GET\',
dataType: \"jsonp\",
processData: false,
crossDomain: true,
jsonp: false,
url: \"http://someo
If you are planning to use JSONP you can use getJSON which made for that. jQuery has helper methods for JSONP.
$.getJSON( 'http://someotherdomain.com/service.svc&callback=?', function( result ) {
console.log(result);
});
Read the below links
http://api.jquery.com/jQuery.getJSON/
Basic example of using .ajax() with JSONP?
Basic how-to for cross domain jsonp