`

数据交互

阅读更多
<script type="text/javascript"src="http://www.xxx.com/?callback=abc"></script>

    

varscript = document.createElement("SCRIPT");
script.src = "http://www.xxx.com/?callback=abc";
document.getElementsByTagName("HEAD")[0].appendChild(script);

 

Stringcallback = "";
if (Request.QueryString["callback"] != null) {
  callback = Request.QueryString["callback"];
}
Response.Write(callback +"("+ JavaScriptCode +");");
Response.End();

   

   

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics