Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


is there a version of getjson that doesnt use a call back


is there a version of getjson that doesnt use a call back  using -'jquery,json'

I am implementing a callback for a 3rdParty javascript library and I need to return the value, but I need to get the value from the server. I need to do something like this:

3rdPartyObject.getCustomValue = function {
   return $.getJSON('myUrl');
}


getJson uses XMLHttpRequest which (I believe) has both synchronous and asynchronous behaviors, can I use the synchronouse behavior?
    

asked Oct 6, 2015 by sujata naik
0 votes
9 views



Related Hot Questions



Government Jobs Opening


...