Ajax not working once adding if statement? – Jquery ajax
I feel like I'm making a really obvious mistake. Please bear with me, I just started learning jquery and ajax. Basically, I think something's wrong with my if statement. Everything else is working properly: ajax was called successfully and the…