解决方法
jQuery.getScript()怎么样?它是建立在jQuery和工程如下:
$.getScript('ajax/test.js',function() { alert('Load was performed.'); });
$.getScript('ajax/test.js',function() { alert('Load was performed.'); });