I am trying to do a cross domain access. In order to avoid access-control aloow origin issue i used datatype jsonp.. but my ajax call gives syntax error unexpected token ':" .. is there any solutuion for this? My ajax call looks like this : 

```
$.ajax({
type:'GET',
url: 'http://myserver:myport/application';
data: "",
dataType: 'jsonp',
success: function(data){
console.log("Data : " + data);
},
error: function(jqXHR, status, errorThrown) { 
console.log("Error!" + status);
            },
jsonp: 'jsonp',

});

```