Ajax syntax : Uncaught SyntaxError: Unexpected identifier
<p>I am getting this Uncaught SyntaxError: Unexpected identifier error , Why ?
I think i have used the syntax properly ?</p>

<pre><code>$.ajax({
    url: "loadcontent1.php",
    data: {
        lastid: '$(".postitem").size()',
        location: '$("#location").val()',
        rstatus: '$("#rstatus").val()',
        gender: '$("#gender").val()'
    }
    success: function(html) {
        Uncaught SyntaxError: Unexpected identifier
        if (html) {
            $("#contentwrapper").append(html);
            $('div#ajaxloader').hide();

            $("#contentwrapper").masonry('reload');
            FB.XFBML.parse();

        } else {
            $('div#ajaxloader').html('&lt;center&gt;No more Images.&lt;/center&gt;');
        }

    }
});​
</code></pre>
