I have two function which should each send either 0 or 1 on a php page with ajax. when pressing a key on the keyboard, the function that sends 1 starts and the one that send