[thelist] DOM - .childNode and How to Target?

Christian Heilmann codepo8 at gmail.com
Mon Apr 2 08:38:12 CDT 2007


> What about trying:
>
> document.getElementById('Username').nodeValue = 'Email Address';

That doesn't make sense at all...
document.getElementById('Username') is an input element and as
elements are not text nodes the nodeValue is null.

-- 
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/



More information about the thelist mailing list