I have not done it myself, but as I understand it returning javascript
to be executed is just "native" to ajax. Have a look at the javascript
library you are using to see if anything needs to be configured for it
to work...(prototype has a property called evalScripts) but it should
more or less "just work", as they say. It is certainly not some Cake
magic at work.



On Feb 26, 12:37 pm, Andraž <[email protected]> wrote:
> Here is written that we can return a script and execute it.
>
> "This was just one way of doing it, we could return JSON, XML or a
> script that'll get executed"
>
> http://www.devmoz.com/blog/2007/04/04/cakephp-update-a-select-box-usi...
>
> Where can I find some example, how to return a script and execute it.
>
> Regards Andraž
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to