So it’s back to basics without using script.aculo.us’s Builder:
And guess what: this works. The file is loaded. Now why does this happen? The new
Playing around with script.aculo.us’s builder.js shows that the script tag cannot be created through
innerHTML but must be created through
document.createElement instead. I don’t know why script.aculo.us tries the
innerHTML approach fail, it falls back to
document.createElement, which works.
This is not the whole story, though. When adding attributes to the newly created element, builder.js again tries to use
innerHTML before using
document.create. And again, skipping
innerHTML to make it fall back to document.create works.
innerHTML is used can be found here, according to the source, but I could not access this URL at the time of this writing.