Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DOM vs. innerHTML; was: [Javascript] DOM vs AJAX


  • From: peter at brunone.com (Peter Brunone)
  • Subject: DOM vs. innerHTML; was: [Javascript] DOM vs AJAX
  • Date: Tue Jun 20 10:57:10 2006


				> Your alternatives for getting content are AJAX vs. 
> pre-filled JavaScript variables vs. (hidden) HTML. 

vs. hidden iframes, vs. image/cookie hacks, etc :)

Peter

				From: Scott Reynen scott@xxxxxxxxxxxxxxx

On Jun 20, 2006, at 5:10 AM, Rakesh Pai wrote:

> The DOM and Ajax have nothing to do with each other. One is to create
> dynamic form elements using browser API, the other is to download bits
> of data from the server.

On Jun 20, 2006, at 8:48 AM, Michael Borchers wrote:

> one way would be doing it by DOM, the other could be an AJAX / XML 
> request,

Wrong. See above. DOM and AJAX don't do the same thing. They are 
*not* alternatives. Your alternatives for inserting content are DOM 
vs. innerHTML. Your alternatives for getting content are AJAX vs. 
pre-filled JavaScript variables vs. (hidden) HTML.

Peace,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20060620/42f4c1a3/attachment.html