On Nov 7, 5:45 am, Matt Foster <[EMAIL PROTECTED]> wrote:
> What are the drawbacks of requestings the JS file via Ajax.Request and
> stuffing the responseText inside the innerHTML property of a generated
> script element?
It is not reliable across browsers, nor is assigning the source as a
string to the text attribute, nor adding a text node with a value of
the source. Using a script element with a src attribute is the most
reliable.
--
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---