Why filter and paging are not wokring together
<p>I have a function which has to filter and display the result by pages. On document ready everything seems fine. The items are separated by pages. If I click on checkbox or date it is filtering elements as I want, so it's working too. But the problem is that when the function filter items a new pagination is not creating. For example: I have 28 items. They display 3 pages - 10items/page. If I filter and the filter result is 12 items the function doesn't make 2 pages: 10 items on first  and 2 on second ... but everything is on the first page and the number of pages are not changing. This is my code: </p>

<p><a href="http://jsbin.com/oqufun/2/edit" rel="nofollow">jsFiddle</a></p>

<p>I was trying to make the 'click' function 'live' like this:</p>

<pre><code>$('label.check, .calendar a').live('click', function(){
   //the code
})
</code></pre>

<p>but I don't know why it is not working and it is braking. </p>

<p>I also tried to replace this <code>match</code>-es:</p>

<pre><code>var pages = Math.ceil(match.length/page);
</code></pre>

<p>and</p>

<pre><code>match.slice(first_item, last_item).show();
</code></pre>

<p>with <code>$('.widget.left:visible')</code> but it still didn't work.</p>

<p>So why is <code>live</code> not working? I think if it does, and give my match a live result, the rest will work but ... Can someone help?</p>

<p>edit: I don't know but my js doesn't run in the jsfiddle. I've tried both jsfiddle and jsbin but still doesn't. Sorry for that I don't know how to fix it but the code runs for sure. It is copy/pasted.</p>
