DEV Community

Discussion on: Do you prefer Fetch or Axios?

Collapse
 
yoursunny profile image
Junxiao Shi

jQuery.ajax()
🤦

Collapse
 
microworlds profile image
Caleb David

That legendary function 😂

Collapse
 
madza profile image
Madza

been there, done that 😂😂

Collapse
 
kudostoy0u profile image
Kudos Beluga • Edited

$.get()
$.post()

Collapse
 
yoursunny profile image
Junxiao Shi • Edited

$.getJSON()
$.getScript()

Don't forget $(selector).load(uri).

All of these are better than my first AJAX program: I didn't know JavaScript has closures, so that every XMLHttpRequest object is a global variable.
It's 2006, when everyone was using IE6, I just read a book about AJAX, I haven't heard about Prototype.js, and jQuery existed for less than a year.