I am pretty confused as to how AJAX can send and receive data from a server. So I was wondering if somebody could explain it? Let's say that I already have an XMLHttpRequest set, called "ajax". How could I access a database using that and pull out some data?
More...