So theoretically (Prototype 1.6), it should be possible to have
javascript code include the Prototype library into a page via
document.write, right?
document.write('
So prototype 1.6 lets you register an event handler for the psuedo-
event dom:loaded. Good enough.
But if you register a callback for this event AFTER it's already
happened anywhere, it'll never get called (or possibly even something
stranger will happen, something strange was happening to me, bu
I just spent like two hours googling for this, and found lots of old
and no longer supported stuff, until thinking of specifically
searching within the prototype listserv, and finding this thread. So,
thanks! But it's neccesarily easy to find on Google if you don't know
what you're looking for.
I
After help from tfluehr in irc, more info found here:
http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/460-dynamic-loading-of-prototype-does-not-work
On Nov 21, 11:36 am, jrochkind <[EMAIL PROTECTED]> wrote:
> So I really want to load Prototype dynamically, that is,
So I really want to load Prototype dynamically, that is, from a js
file.
This is because I am providing a sort of javascript-widget type thing,
that users can include on their page to have some 'embedded'
functionality. Kind of like YouTube does, or whatever. They put a