Can anyone tell me where one should use javascript and where one should use ajax? Also, what is the main difference between them?
I have searched on the web and got an idea that ajax should be use when we want to send some data or request to the server in background...
Other than that I don't have any clear answer for my questions.