jquery - getting "Error: jQuery111306513629604596645_1434294948077 was not called" error when cross domain ajax call? -


my ajax call is:

$.ajax({     method: "get",     contenttype: "application/json; charset=utf-8",     url: "http://localhost:8080/viewalldoctorprofile",     datatype: 'jsonp',     crossdomain: true,     success : function(json){         alert("24254");     },     error: function (xhr, ajaxoptions, thrownerror) {         alert(xhr.status);         alert(thrownerror);     } }); 

i can see result json in inspect elements in browser, i'm getting error:

error: jquery111306513629604596645_1434294948077 not called

please me. thank in advance

i assume 'jquery111306513629604596645_1434294948077' may wrapper of jsonp response - wraped within method should be?

i can see ajax method not contain 'jsonpcallback' method. here have similar issue: callback function jsonp jquery ajax


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -