AJAX == Asynchronous Javascript And XML
, so yeah, you have to learn both things.
Of course, as some have noted, you can use HTML or JSON instead of XML. But then you could call it AJAJ or AJAH. Not very marketable ;)
You should first learn what XML is, what it is used for. As its just a file format, its the fastest to get enough functional knowledge of.
Then, learn plain Javascript. Learn to make an XMLHTTPRequest
. Only jump into a JS framework to simplify AJAX calls and abstract browsers differences once you know what they do behind the curtains.
Once you've done all this, learn json
and decide if it is for you.