stupid question. with ajax request you mean doing so within jquery,
correct? how would i do it here?
$('#pagination_created a').live('click', function() {
var url = $(this).attr("href"); !!!!!<<<<<<<<<<
I'm having a feeling that i need to add the parameter to this line
$('#following_popup').load(url);
return false;
});
thanks a lot :)
On Aug 30, 9:28 am, WebbedIT <p...@webbedit.co.uk> wrote:
> There is nothing special about achieving this as CakePHP takes the
> passed or named variables the same way as any other time. Simply send
> an ajax request to:
>
> /controller/action/variableValue
>
> or
>
> /controller/action/variableName:variableValue
>
> If you're still struggling to access the variable in your action add
> echo debug($this->params); to see where the variable ends up.
>
> HTH, Paul.
>
> On Aug 29, 3:41 pm, Tomfox Wiranata <tomfox.wiran...@gmail.com> wrote:
>
>
>
> > hi huoxito,
>
> > thx for your post. no i didnt get there cause my way worked too.....
> > if you/someone know/knows how to pass a variable with jquery to the
> > isAjax() i'd rather stay with my solution, otherwise i might give it a
> > try..
>
> > On Aug 29, 2:22 pm, huoxito <huox...@gmail.com> wrote:
>
> > > Have u tried to do it use cake built in ajax pagination?
>
> > >http://book.cakephp.org/view/1600/Ajax-Pagination- Hide quoted text -
>
> - Show quoted text -
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment