0
Difference between ajax and JavaScript?
Ajax is made to do stuff without reloading the page correct? Isn't that kind of what JavaScript does. For example a javascript button event doesn't reload the page. Neither does ajax. So what is the difference and should i prefer one over the other.
1 Answer
+ 4
Yes, JS does that. The difference is that AJAX was designed to make calls to the server and obtain information without needing to reload the page.