Because of the way Ajax (well, Prototype) works, you can't dynamically
load external JavaScript libraries in Ajax calls.  So putting
$javascript->link( ) calls in your Ajax layout won't do anything for
you.  Any external libraries you use in a page must be loaded on the
initial HTTP request.

If you put your $javascript->link calls in the page that makes the Ajax
requests, it should work.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to