데이터 교환

<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();


   
   

좋은 웹페이지 즐겨찾기