Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(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);
- }
- }
- });
- });
- });
Add Comment
Please, Sign In to add comment