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.
jQuery.ajax()
🤦
That legendary function 😂
$.get()
$.post()
$.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.
been there, done that 😂😂