cond of all, I was using $(“.submit”).on(“click”, getBingo) to call the function  however, I used the same syntax (with a different success function) to set up my Ajax call, so Javascript was never getting to the bingo alert function.