<script> <br>function getJsFile(url, callBack){ <br>var <br>if(XH.readyState == 4 && XH.status == 200){ <br>if(window.execScript) window.execScript(XH.responseText); <br>else eval.call(window, XH. responseText); <br>eval(callBack)(); <br>} <br>} <br>XH.send(''); <br>} <br></script>
//test
<script> <br>function cb(){ <br>alert(1); <br>abc(); //This is in js9.js <br>} <br>getJsFile('http://www.jb51.net /images/test.js,'cb'); <br></script>