function change_strategy(eventData) { $('#strategy_select option[value=-1]').attr('disabled', 'disabled') } function get_matchup(eventData) { console.log($('.player-checkbox:checked')) player_ids = $('.player-checkbox:checked').map(function(){return $(this).val()}).get().join() strategy_id = $('#strategy_select').val() console.log(`Player_ids is ${player_ids}`) console.log(`Strategy_id is ${strategy_id}`) $.ajax({ type: 'GET', url: '/api/suggest/matchup?player_id', data: { player_ids: player_ids, strategy_id: strategy_id }, contentType: 'application/json', dataType: 'json', success: function(data) { console.log(data); $('#matchup_display_div').html('