I am working on a small javascript library that will need some ajax functionality, json, jsonp and maybe some xml. I really like the way the jQuery ajax methods work, but don't have a need for all the other jQuery tools. Does anyone know of a small cross browser ajax script that implements most or all of the jquery functionality?
Thanks!
jQuery is only 26KB which is what I use. The AJAX functionality is pretty easy and if you just need that, strip out the rest of the code.
Yeah it has so many great features that i can't imagine writing AJAX app without it. You can use Google libraries API to save your bandwidth http://code.google.com/intl/pl-PL/apis/libraries/devguide.html#jquery
if you don't want to use jquery for some reasons , you can use regular javascripts xmlhttpreqeust.
see example below
http://www.w3schools.com/xml/xml_http.asp