I can't passing variable to PHP from JavaScript and jQuery load the response
<p>I want passing 2 parameters to PHP page via AJAX and load the response, but this code is not working.</p>

<p><strong>JavaScript:</strong></p>

<pre><code>$(".show_category").click(function(){
    var category_id = $(this).attr('data-category');
    $.ajax({
        url: "conx.php",
        method: "POST",
        data: {
            action: "sort_category",
            category_id: category_id
        },
        success: function(data) {
            $("#con").load("conx.php");
        }
    });
});
</code></pre>

<p><strong>PHP:</strong></p>

<pre><code>&lt;?php
    echo "1".$_POST["action"]."&lt;br/&gt;";
?&gt;
</code></pre>