$.ajax() post json data type
<p>That is my function, for exp.:</p>

<pre><code>adId = 1, adTitle = test

function deleteAd(adId, adTitle) {
    $.ajax({
        dataType: 'json',
        url: 'ajax.php',
        type: 'POST',
        data: {
            adId : adId,
            adTitle: adTitle
        },
        success: function(data) {
            alert(data);
        }
    });
</code></pre>

<p>That is ajax.php:</p>

<pre><code>echo $_POST['adId']; echo $_POST['adTitle'];
</code></pre>

<p>But echo only adId, don't have adTitle.</p>

<p>I try this:</p>

<pre><code>   data: {
            adId : adId,
            adTitle: "test"
        },
</code></pre>

<p>And don't have result too. With HttpFox I found this post and postdata is: adId=1&amp;&amp;adTitle=test</p>
