Hi,

Our application has been enhanced with an asynchronous circuit (based
over the Prototype's Ajax class) that is able to load and navigate
through usecases in a modal window.

When calling an usecase action in a asynchronous way, the circuit
returns only the needed HTML content (and not a full web page with the
HTML or HEAD tags) that may contain JavaScript source file inclusions,
like:

<script type="text/javascript" src="/MyUsecase/MyAction.js" />"></
script>

When performing a such update (using Ajax.Updater(container,
actionUrl, {evalJS : true, evalScripts : true})), scripts are
correctly evaluated and removed from output. But script tags that
reference a source file are also removed and the contents of the
Javascript file will never be interpreted!

Is there a work around to force Prototype to leave JavaScript source
files inclusions after Ajax updates?

Thanks


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to