jquery - JSONP call works local but not on server -


i'm trying data remote server using jquery , perform jsonp ajax call. problem whenever use local server response gets evaluated, when use remote server it's not. response in form jsonp12345678[{"key":"value"}] hence, using [ instead of ( json. unfortunately don't have access remote server change that.

here's javascript call.

$.ajax({             datatype: 'jsonp',             jsonp: 'jsonp_callback',             url: 'url',             error: function(status) {                 console.log(status);             },             success: function (html) {                 $("#content").text(html.reply);             },         }); 

if remote server doesn't support jsonp, not able jsonp queries it. server has explicitly call jsonp callback.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -