Hello,
the code was working fine the only problem is that I don't understand why if I specify the method (GET or POST), in both of the case the form data are sent using GET. (lokking in the chrome dev tool);
Then I have also another question. If I set the method inside the Ajax call, can I leave blank the form tag?
I mean is it necessary also to set in the form tag the method?
What's the difference if I set over there the method instead of inside the ajax call?