Carl Forsman wrote:
Quote:
Ajax is just regular client side javascript + 1 more small thing -
XMLHttpRequest / ActiveXObject - |
Yes, but not just any `ActiveXObject'.
No, the *server* can respond with/send XML or JSON or whatever. Client-side
scripting needs to process the response, and one needs to make an HTTP
request first (Consisting of headers and, if a POST request, of a message
body, too) for the server to respond. The request usually does _not_
contain XML markup, but it is possible (SOAP and XML-RPC being examples of
that).
To sever your XML, use a <chainsaw/>.
Not necessarily.
Partially.
Quote:
Then learning Ajax is no more than learning the old javascript code on
how to change the DOM tree with HTML document? |
No.
Quote:
the only different is there is ability to send XML to server through
HTTP request / response? |
No.
Next time, STFW first. <http://en.wikipedia.org/wiki/Ajax_(programming)>
-- which can readily be found by typing "Ajax" into Google Web Search --
is a good starting point.
There is also a very good tutorial at MDC:
<https://developer.mozilla.org/en/AJAX>
(I wonder why it isn't linked from the Wikipedia article [anymore?])
See also: <http://jibbering.com/faq/#posting>
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann