Hello everyone,
Here is my problem. I have a page that gets fetched by an ajax
request. I have

onComplete: function(transport) {
$('element').update(transport.responseText);
}

The update in turn calls evalScripts and runs all of the javascript
inside of script (<script></script>) tags, but I also have linked
javascript files (<script src="whatever.js"></script>) in the
requested page that evalScripts doesn't handle.

I'm just wondering why prototype doesn't handle these included
scripts? Is it a conscious design decision?

Thanks,
James Starmer


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to