DEV Community

Discussion on: Making AJAX calls in pure JavaScript, the old way

Collapse
 
scriptex profile image
Atanas Atanasov

Nice and well written. I would suggest switching to a modern API instead and using fetch. There is a polyfill if you need to support older browsers.

Collapse
 
nikola profile image
Nikola Brežnjak

Thank you! Yes, the next post will be how to do this in jQuery, and the one after that about using fetch.