JS cross domain request, using jsonp

time:15-08-10 forum:HTML web page, JS language and code
  http://blog.csdn.net/qq_16490557/articl... S/36173385

[code]// across domain requests. Al (jsonp_str '=' param.success'; ');

param.url =' callback='jsonp_str;

for. 1; 0.#93;;
doc_js = document.createElement (.Quot; script.quot;);
doc_js.src = param.url;
doc_js.onload = doc_js.onreadystatechange = = = / / / / / / / / / / > clear JS
doc_head.removeChild (doc_js);
}
}

doc_head.appendChild (doc_js);
}
>); [/code]

prev:Shandong province finances 3 billion 850... next:Interaction between Flash and JS
post comment
Notice



approved   The walls and towers of the Ji'nan m...   A rural girl's monologue: what's the...   How the deaf and dumb girls become t...   These old photos of Ji'nan, which ha...   What can you eat for 10 dollars? The...
rand   Prevent other people from saving web...   5 debug skills necessary for JavaScr...   Several common JavaScript obfuscatio...   CSS tutorial PDF format books   HTML5 finalization 1st anniversary y...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com