remote javascript
Load remote js file
Has anyone tried to load remote js file (from another server) with javascript function qc.loadJavaScriptFile? Or have you tried to use QControlBase::$strJavaScripts property to include javascript files? The latter should use qc.ladJavaScriptFile when control is loaded via ajax.
I have a dialog box, which should load js from another server and use this js to do stuff. If I see ajax response, there's something like:
qc.loadJavaScriptFile("http://anotherserver.com/js/file.js", function() {alert("a");});