Using the XML HTTP Request object
Here s a really good primer on starting with all this AJAX stuff: Using the XML HTTP Request object.
It gets you up and running quickly with some basic example of running HTTP requests (the “Right Way(tm)”), including JSON and SOAP.