you can use the "with" parameter of the $ajax call. You would have to give the DOM ID of the parameter. You will get this value in the $this- >params of the controller. hope this help
On Jul 3, 3:48 pm, Ita <[EMAIL PROTECTED]> wrote: > OK - managed. > Didn't notice the ajax 'with' option. > BTW it should be better documented since its really not clear how it > should be used. > for future ref it can be found > here:http://groups.google.com/group/cake-php/browse_thread/thread/ac6d7e82... > > On Jul 3, 3:06 pm, Ita <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm trying to create an ajax link that will pass a dynamic parameter > > according to something the user inputs. > > what I mean is that I want the link that will call an action but with > > a different parameter each time and this parameter is given by the > > user on the client side, during the creation of the link on the serer > > side I have no idea what this parameter is going to be. > > > I have tried to user the "before" option but I couldn't find a way to > > update the url that the ajax link calls. > > > Maybe what I'm trying to do is not possible but I'm asking anyway. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
