jquery confirm action doesn't work
<p>I'm using this class to set up a Yes/No alert.</p>

<p><a href="http://myclabs.github.io/jquery.confirm/" rel="nofollow">http://myclabs.github.io/jquery.confirm/</a></p>

<p>This is my code:</p>

<pre><code>var currentId;

$(".confirm").click(function() {
    currentId = $(this).attr('id');
});

$(".confirm").confirm({
    text: "Are you sure?",
    confirm: function(button) {
                    //if I alert here currentId, it alerts right
        $.post("receive.php", { currentId: "id"} )
        .done(function(data) {
            alert(data); //NOTHING!!!
        });
    },
    cancel: function(button) {
        $('.modal hide fade').css("display", "none");
    },
    confirmButton: "Yes",
    cancelButton: "No!",
    post: true
});
});
</code></pre>

<p><strong>Receive.php</strong></p>

<pre><code>&lt;? echo $_POST['id']; ?&gt;
</code></pre>
