Standalone ajax script

I am working on a small javascript library that will require some ajax, json, jsonp function and possibly some xml. I really like the way jQuery ajax methods work, but I don’t need all the other jQuery tools. Does anyone know a small cross-browser ajax script that implements most or all of the jquery functions?

Thank!

+5
source share
3 answers

if you do not want to use jquery for some reason, you can use regular javascripts xmlhttpreqeust.

see example below

http://www.w3schools.com/xml/xml_http.asp
+2
source

jQuery is only 26KB, which is what I use. AJAX functionality is pretty simple, and if you need it, separate the rest of the code.

-1
source

All Articles