jquery post data after click
<p>It has been a while since I used jquery. Basically I am trying to post some form data after a click. This is my current code:</p>

<pre><code>$(document).ready(function() {
            $('.pagination a').live('click', function() {
            $.post(this.href,
                { LikeOperation: $("LikeOperation").val() },
                { SearchTerm: $("SearchTerm").val() },
                function(result) {
                    $("form:first").submit();
                });
                return false;
            });
        });
</code></pre>

<p>Unfortunately the data is not posted (post works though). Thanks!</p>

<p>PS:</p>

<p>Working code:</p>

<pre><code>$(document).ready(function() {
    $('.pagination a').live('click', function() {
    $.post(this.href,
    { LikeOperation: $("#LikeOperation").val(), SearchTerm: $("#SearchTerm").val() },
    function(result) {
    });
    return false;
    });
});
</code></pre>
