$("button.pf_delete_203437").text("ファン登録する"); userid : userid var userid = ; url: 'https://www.kyureki.com/ajax_player_fav.php', var playerid = 217623; var up_type = "insert"; up_type: up_type, var playerid = 211143; $("button.pf_insert_203057").addClass("pf_delete_203057"); $("button.pf_insert_189437").text("ファン登録済み"); var playerid = 234340; }, var up_type = "insert"; $("button.pf_delete_202397").addClass("btn-primary"); type: "POST", success:function(data){ $( '.player_fav' ).on( 'click', '.pf_insert_214561', function() { $("button.pf_delete_217152").text("ファン登録する"); timeout: 10000, $.ajax({ playerid : playerid, type: "POST", var userid = ; }) timeout: 10000, }, $( '.player_fav' ).on( 'click', '.pf_insert_228055', function() { var playerid = 228636; $("button.pf_insert_202397").removeClass("pf_insert_202397"); url: 'https://www.kyureki.com/ajax_player_fav.php', data: { $("button.pf_insert_172744").addClass("btn-light"); $("button.pf_insert_203226").addClass("pf_delete_203226"); }) $("button.pf_insert_177906").text("ファン登録済み"); type: "POST", timeout: 10000, error: function(){ } } $("button.pf_delete_172765").removeClass("btn-light"); $('.pf_delete_206536').on('click', function(){}); $(function () { $("button.pf_insert_214561").addClass("pf_delete_214561"); $("button.pf_delete_203225").addClass("btn-primary"); $("button.pf_delete_169680").removeClass("btn-light"); playerid : playerid, $("button.pf_delete_206536").addClass("btn-primary"); $("button.pf_insert_202397").addClass("pf_delete_202397"); var up_type = "insert"; }, $("button.pf_delete_232972").removeClass("pf_delete_232972"); url: 'https://www.kyureki.com/ajax_player_fav.php', userid : userid }, type: "POST", } var up_type = "delete"; up_type: up_type, console.log('失敗'); }) }); }, var userid = ; }, $("button.pf_insert_204980").removeClass("btn-primary"); up_type: up_type, $("button.pf_insert_202397").text("ファン登録済み"); console.log('失敗'); $("button.pf_insert_206792").text("ファン登録済み"); $("button.pf_insert_169621").removeClass("btn-primary"); console.log('失敗'); console.log('失敗'); success:function(data){ error: function(){ $("button.pf_insert_50471").addClass("pf_delete_50471"); timeout: 10000, var playerid = 233354;