[Javascript] DOM vs AJAX

Matt Warden mwarden at gmail.com
Wed Jun 21 02:44:26 CDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Borchers wrote:
> let's say the new content will be a <table>.
> 1. the link now could call a javascript function that creates this table
> by createElement(...) (what i like to call DOM:) )
> 2. the link could call a XMLHttpRequest, which returns the table that
> has been stored in a seperate file (what i call AJAX:) )

If the content is static in another file, why would you need either of
these methods?

- --
Matt Warden
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmPjarI3LObhzHRMRAvBsAKC4bxkO5HD0TcsAZceGHbw8mkuYkwCg9PdQ
Dx6nlzBA5FYM2O6ZygM1T8k=
=8zdZ
-----END PGP SIGNATURE-----



More information about the Javascript mailing list