3
In AJAX, I have the functions $.post
and $.get
.
I’ve always used the $.post
, and never had a problem.
- But what’s the difference between them?
- In what situations I should use each?
I searched here in the SO a question about it, because I was in doubt, but I did not find
@Lucascosta The question you indicated talks about the HTTP methods, this one talks about the use of these methods with Ajax.
– Oralista de Sistemas
@Renan You’re right, but there in the other answer have the information I sought, thanks anyway!
– Artur Trapp
I considered as duplicate @Renan because the methods are different precisely due to the difference between HTTP methods, which is well detailed in the answer Victor.
– BrTkCa