02-23-2008, 06:19 AM
|
#3 (permalink)
|
|
The Acquainted
Join Date: Nov 2007
Posts: 154
Thanks: 31
|
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.
|
|
|
|