Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ajax Pagination with Filter Plugin Problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sanjeev  
View profile  
 More options Jul 7 2012, 7:44 am
From: sanjeev <sanjeevdive...@gmail.com>
Date: Sat, 7 Jul 2012 04:44:20 -0700 (PDT)
Local: Sat, Jul 7 2012 7:44 am
Subject: Ajax Pagination with Filter Plugin Problem

Hello,

I am using Ajax Pagination with the help of livequery.js with following
code in layout

$('a[href*="sort:"],a[href*="page:"],#searchButton').livequery('click',
function(){
$('#content').load($(this).attr('href'));
return false;

});

I put #searchButton with help of Js::submit() function for search records
which doesn't work

Thanks in advance.

Regards,

Sanjeev Divekar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lowpass  
View profile  
 More options Jul 7 2012, 1:54 pm
From: lowpass <zijn.digi...@gmail.com>
Date: Sat, 7 Jul 2012 13:54:11 -0400
Local: Sat, Jul 7 2012 1:54 pm
Subject: Re: Ajax Pagination with Filter Plugin Problem
Please define "doesn't work".


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sanjeev  
View profile  
 More options Jul 9 2012, 12:20 am
From: sanjeev <sanjeevdive...@gmail.com>
Date: Sun, 8 Jul 2012 21:20:29 -0700 (PDT)
Local: Mon, Jul 9 2012 12:20 am
Subject: Re: Ajax Pagination with Filter Plugin Problem

Fist Time it works but after div updated submit click doesn't work. I think
click event lost.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lowpass  
View profile  
 More options Jul 9 2012, 1:20 pm
From: lowpass <zijn.digi...@gmail.com>
Date: Mon, 9 Jul 2012 13:20:19 -0400
Local: Mon, Jul 9 2012 1:20 pm
Subject: Re: Ajax Pagination with Filter Plugin Problem

On Mon, Jul 9, 2012 at 12:20 AM, sanjeev <sanjeevdive...@gmail.com> wrote:
> Fist Time it works but after div updated submit click doesn't work. I think
> click event lost.

Yes, that's likely the problem. I've never used livequery so could not
say for sure. I think it should be sufficient to either use JQuery's
live() or create a callback that is run when the content loads that
initiates the event handler. But you're using Cake's JS helper, which
I never bother with, so I can't say more about that.

Also, your selector could be made a bit more efficient if you wrap the
links with something rather than have to parse the URL of all links on
the page. Something like:

$('div.Pagination a, #searchButton')


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sanjeev Divekar  
View profile  
 More options Jul 9 2012, 11:18 pm
From: Sanjeev Divekar <sanjeevdive...@gmail.com>
Date: Tue, 10 Jul 2012 08:48:55 +0530
Local: Mon, Jul 9 2012 11:18 pm
Subject: Re: Ajax Pagination with Filter Plugin Problem

I have already tried this but not working.

--
Warm Regards,
Sanjeev
http://sanjeevdivekar.wordpress.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »