var playerid = 14353; data: { $("button.pf_insert_212630").addClass("btn-light"); userid : userid $("button.pf_insert_212630").removeClass("btn-primary"); }, } }); }, error: function(){ }) $.ajax({ $("button.pf_delete_200822").text("ファン登録する"); }, }, }, timeout: 10000, userid : userid console.log('失敗'); var up_type = "delete"; up_type: up_type, console.log('失敗'); $("button.pf_insert_14353").removeClass("pf_insert_14353"); url: 'https://www.kyureki.com/ajax_player_fav.php', $("button.pf_insert_212638").removeClass("pf_insert_212638"); } userid : userid }, }, }); up_type: up_type, playerid : playerid, timeout: 10000, success:function(data){ type: "POST", up_type: up_type, error: function(){ var userid = ; }) }); success:function(data){ success:function(data){ userid : userid } }) $.ajax({ $("button.pf_insert_200822").addClass("btn-light"); $("button.pf_delete_212646").removeClass("btn-light"); console.log('失敗'); error: function(){ var up_type = "insert"; userid : userid }) $("button.pf_delete_212638").text("ファン登録する"); timeout: 10000, $('.pf_insert_212646').on('click', function(){}); }); success:function(data){ }) }); $.ajax({ $( '.player_fav' ).on( 'click', '.pf_delete_212646', function() { var up_type = "insert"; $("button.pf_delete_212630").removeClass("pf_delete_212630"); data: { }); up_type: up_type, var playerid = 212630; $("button.pf_insert_169349").removeClass("pf_insert_169349"); up_type: up_type, up_type: up_type, $("button.pf_insert_212638").text("ファン登録済み"); $("button.pf_delete_212630").addClass("pf_insert_212630"); $(function () { }) playerid : playerid, var userid = ; console.log('失敗'); $("button.pf_insert_200822").removeClass("btn-primary"); success:function(data){ playerid : playerid, $( '.player_fav' ).on( 'click', '.pf_insert_212638', function() { $("button.pf_delete_212638").addClass("pf_insert_212638"); url: 'https://www.kyureki.com/ajax_player_fav.php', var userid = ; playerid : playerid, var up_type = "insert"; var userid = ; var playerid = 212630; }) }, playerid : playerid, }, var playerid = 212646; up_type: up_type, console.log('失敗'); $( '.player_fav' ).on( 'click', '.pf_delete_212630', function() { }) userid : userid $.ajax({ console.log('失敗'); console.log('失敗'); $("button.pf_insert_14353").removeClass("btn-primary"); error: function(){ success:function(data){ $("button.pf_insert_169349").text("ファン登録済み"); $("button.pf_insert_212646").removeClass("pf_insert_212646"); console.log('失敗'); }) data: { data: { $("button.pf_insert_212646").text("ファン登録済み"); $("button.pf_delete_200822").removeClass("pf_delete_200822"); $("button.pf_insert_212638").removeClass("btn-primary"); }, $( '.player_fav' ).on( 'click', '.pf_delete_200822', function() { url: 'https://www.kyureki.com/ajax_player_fav.php', $("button.pf_delete_212646").text("ファン登録する"); }) } $( '.player_fav' ).on( 'click', '.pf_delete_212638', function() { var up_type = "delete"; }, var playerid = 169349; var userid = ; $("button.pf_delete_212646").removeClass("pf_delete_212646"); $("button.pf_delete_14353").removeClass("pf_delete_14353"); userid : userid var up_type = "delete"; playerid : playerid, url: 'https://www.kyureki.com/ajax_player_fav.php', }); type: "POST", $('.pf_insert_212638').on('click', function(){}); var userid = ; error: function(){ }) timeout: 10000, var playerid = 200822; }, error: function(){ error: function(){ $("button.pf_delete_212630").text("ファン登録する"); success:function(data){ up_type: up_type, }, type: "POST", $("button.pf_delete_14353").text("ファン登録する"); timeout: 10000, type: "POST", type: "POST", var userid = ; error: function(){ userid : userid $("button.pf_delete_169349").text("ファン登録する"); type: "POST",