You can call a script the same way, just use $( "#quote p" ).load( "/ contoller/action" );
Make sure your controller handles ajax requests. If you don't know what that means look up requestAction or parseExtensions in the groups. On Jul 2, 10:12 pm, Jim Newfer <[EMAIL PROTECTED]> wrote: > I have been using jquery, which is great btw, with cakephp for a > couple of weeks now. I love it to say the least. I haven't really > dealt with ajax very much, but I have done some basic things with it, > and PHP outside of cake. Needless to say, when it comes time to use > jquery's ajax functionality with cake, I am completely and totally > lost. > > I trying to get this EXTREMELY simple tutorial to work with cakephp > for about the past 3 hours, and just cannot seem to figure it out. > > http://www.sitepoint.com/article/ajax-jquery > > I think it make have something to do with this line in jquery, where > it calls for an outside script. > > $("#quote p").load("script.php"); > > I was wondering is there some way to instead, call upon a specific > controller? Or pass jquery information? > > Obviously I do not want to include a separate script because that > would be an unnecessary hassle. I am just looking for pointers/tips on > how to use ajax's functionality with cake, because I cannot seem to > find any good tutorials anywhere on incorporating jquery into cake. > > Any guidance is GREATLY appreciated. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
