代码如下:/** ** author: site120 ** function : get script part from html document **/ var loadJs = function(str , delayTime) { var delayTime = delayTime || 100; var regExp_scriptTag = new RegExp(“]*)>([\\s\\S]*?)” , “gi”);