Answer the question
In order to leave comments, you need to log in
Is it necessary to make a form if you submit via ajax?
I somehow got used to sending everything through ajax. And I just make inputs, and from them I collect, process data and then send it. And I score on the form. Tell me - is this bad or normal? in fact, the form is not required there at all
Answer the question
In order to leave comments, you need to log in
No. It is enough just to compose the correct array of transmitted data.
You can simply send a request with javascript, collecting the data in JSON. There is no form here.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question