Hi, I think what you need is to set 'evalScripts' => true in the ajax options of your button.
On 19 Sep., 21:00, Dave <[email protected]> wrote: > Hi, > I'm trying to load additional content to my page using the ajax > helpers. I have got it to work once, loading the data for the next > page but I'm at a loss as to how i can then set another ajax button to > load the next page. > It appears that I need the javascript included in the ajax template to > enable another button to be created but when simply pasting the > javascript file includes within the ajax layout it does not appear to > include the files, in fact they vanish. > Anyone had any idea of a good way to have a button be created within > the new ajax content? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
