jQuery .live() issue
<p>I have an ordered list, and each item has a link with class "additem" to add another item to the list. In order to make the add item links in the newly added items work, I used .live(), like this:</p>

<pre><code>function pageFunctions() {

    $('a.additem').click(function() {

        $('&lt;li&gt;'+trackli+'&lt;/li&gt;').insertAfter($(this).parent());

    });
});
// there are other functions that warrant 'pageFunctions' being a separate function

$(function() {

    pageFunctions();

    $('a.additem').live('click', pageFunctions);

});
</code></pre>

<p>However, what happens is that the first time you click the add item link, it works fine. But after that, instead of adding an item once, it will double it. and the third time double it again. Any ideas how to fix this?</p>
