When easyloader loads an external js file, although the callback function is successfully called, The js file cannot be loaded. The solution is as follows: Find easyload. open the js file and change the script to this in red; var _ 8 = document. createElement ("script"); _ 8. type = "text/javascript"; _ 8. language = "javascript"; _ 8.src= _ 5; _ 8. onload = _ 8. onreadystatechange = function () {if (! _ 7 &&(! This. readyState | this. readyState = "loaded" | this. readyState = "complete") {_ 7 = true; this. onload = this. onreadystatechange = null; if (_ 6) {_ 6. call (_ 8) ;}}; note that the external js file to be loaded must start. js end, otherwise it will not be loaded. // Custom js module call Method 1: easyloader. modules = $. extend ({}, {"baseUI": {js: '<% = basePath %> struts/baseui. js', css: '<% = basePath %>/struts/themes/default/easyui.css'}, easyloader. modules); easyloader. locale = "zh_CN"; easyloader. load (['layout ', 'tabs', 'messager', 'portal ', 'baseuis'], function () {alert ("OK ");}); method 2: using ("<% = basePath %> struts/baseui. js ", function () {alert (" OK ");});