ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
源代码在线查看: script.js
function Script() { BiEventTarget.call(this); this._sq = new BiScriptLoaderQueue; } _p = Script.prototype = new BiEventTarget; _p._className = "Script"; _p.setUri = function (oUri) { if (!(oUri instanceof BiUri)) { oUri = new BiUri(application.getAdfPath(), oUri); } if (String(this._uri) != String(oUri)) { this._uri = oUri; this._sq.setAsync( false ); this._sq.add( oUri ); this._sq.load(); this._sq.dispose(); this._sq = new BiScriptLoaderQueue; } }; Script.addProperty("uri", Function.READ); _p.getSrc = _p.getUri; _p.setSrc = _p.setUri; ///@nodoc _p.addXmlNode = function (n, p) { this._sq.addInline(n.text); this._sq.load(); this._sq.dispose(); this._sq = new BiScriptLoaderQueue; };