Get value of posted json data with Ajax
<p>When I make an ajax call, I get the ID of my input and I add the id to my json data.</p>

<p>I need to get this id to use it id my success function.</p>

<p>IE : In data id = 1, i need in success to get .qte1</p>

<p>If you have any idea... :) </p>

<pre><code>$('#action-button').click(function() {
    $.ajax({
        type: 'POST',
        url: 'get_qty.php',
        data: {
            'id': $('input[name=qte]').val(),
        },
        success: function(data) {
            $(".qte").html("");
            $(".qte").append(data);

        }
    });
    return false;
});
</code></pre>