Jsonp simple call not working?

I'm not sure you understand JSONP. The code you have here doesn't make sense: The callback you're supplying is "3", not the name of a global JavaScript function The PHP side isn't generating a call to the JSON callback.

I'm not sure you understand JSONP. The code you have here doesn't make sense: The callback you're supplying is "3", not the name of a global JavaScript function. The PHP side isn't generating a call to the JSON callback.

When your browser request the mysubdomain.comoj.com/jsoncall.php?jsonC... url, it's make an HTTP request to the php page. When the http server send you a response it just contain "3" as body, wich is not valid javascript and nothing happen. Moreover, if you want to create a php page that build a dinamic javascript you have to first tell the browser that you're sending a javascript file by using the header("Content-Type: textt/javascript"); directive before print anything to screen.

Last but not least...you're not doing a jSONP call at all :).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send