Thread: AJAX Help
View Single Post
Old 02-23-2008, 06:19 AM   #3 (permalink)
SOCK
The Acquainted
 
Join Date: Nov 2007
Posts: 154
Thanks: 31
SOCK is on a distinguished road
Default

There is no 'getElementByName' method. There is 'getElementsByName' and 'getElementsByTagName', both return arrays of element names and tag names, respectively.

Use 'getElementById' and the innerHTML property when dealing with text, as DeMo stated.

There's an excellent JavaScript and DOM reference at javascriptkit.com.
__________________
I reject your reality, and substitute my own.
SOCK is offline  
Reply With Quote
The Following User Says Thank You to SOCK For This Useful Post:
CoryMathews (02-24-2008)