success:function(data){ $("button.pf_delete_225337").addClass("btn-primary"); $("button.pf_delete_225337").removeClass("btn-light"); console.log('失敗'); type: "POST", $("button.pf_delete_183791").addClass("pf_insert_183791"); $("button.pf_delete_185326").removeClass("btn-light"); $("button.pf_delete_185325").removeClass("btn-light"); timeout: 10000, }) }); var playerid = 225337; $.ajax({ console.log('失敗'); }, var playerid = 3966; data: { success:function(data){ up_type: up_type, error: function(){ $("button.pf_delete_185326").text("ファン登録する"); $('.pf_insert_3966').on('click', function(){}); } }) var userid = ; url: 'https://www.kyureki.com/ajax_player_fav.php', up_type: up_type, $("button.pf_delete_185325").text("ファン登録する"); var playerid = 185326; $("button.pf_delete_185326").addClass("btn-primary"); timeout: 10000, url: 'https://www.kyureki.com/ajax_player_fav.php', } error: function(){ up_type: up_type, }); }) $.ajax({ console.log('失敗'); }, var userid = ; } timeout: 10000, var playerid = 185325; $("button.pf_insert_225337").removeClass("pf_insert_225337"); type: "POST", up_type: up_type, $('.pf_delete_185325').on('click', function(){}); $(function () { var up_type = "delete"; success:function(data){ $( '.player_fav' ).on( 'click', '.pf_delete_225337', function() { $("button.pf_insert_225337").text("ファン登録済み"); }, var up_type = "insert"; userid : userid data: { $("button.pf_delete_183791").removeClass("pf_delete_183791"); data: { }, }, $.ajax({ }, }); $("button.pf_insert_3966").text("ファン登録済み"); data: { success:function(data){ $.ajax({ type: "POST", error: function(){ type: "POST", }, $("button.pf_delete_225337").removeClass("pf_delete_225337"); $( '.player_fav' ).on( 'click', '.pf_insert_183791', function() { }, $("button.pf_insert_185325").removeClass("pf_insert_185325"); console.log('失敗'); console.log('失敗'); }); 武田塾(予備校・個別指導塾) » data: { error: function(){ success:function(data){