I want to get $_GET["id"] from the URL.
$(document).ready(function(){   
    //TRAITEMENT ENVOIE INVITATION
    $("#amis_commun_liste .afficher_plus_modal").bind('click', function f() {
        var afficher_plus_modal = $(this).attr("class");
        $(this).unbind('click', f);
        $.ajax({
            type: "post",
            url: "voir_profil_includes/func_infos.php",
            data: {
                "afficher_plus_modal": afficher_plus_modal,
                //I want to get here $_GET['id']        
            },
            beforeSend: function() {
                $("#amis_commun_liste .afficher_plus_modal").html("En cours");
            },
            success: function(data) {
                if (data != "success") {                          
                    alert(data);
                }
            }
        });
    });
});
Is it possible to get $_GET[] from the URL with jQuery?
 
     
    