Anyone know what would cause Element.Events to evaluate as undefined in addEvent even though it worked fine 10 times previously?
Here's what I'm doing... I'm writing an interactive loader similar to Depender (but not exactly the same as I have some different requirements). In the "development" mode it requests each js file individually through a back end server component. It does so by creating script tags with the approriate url and get variables. I'm able to create 10 of them but on the 11th one the 5th line of the addEvent function fails because Element.Events is somehow undefined. Yet it's fine the other 10 times?? Anyone have a thought as to where I can look for an answer? Is there some kind of limit to the number of script tags you can add to a document? Thanks, Jon B.
