[Javascript] 'name' property in forms not XHTML valid

Scott Reynen scott at randomchaos.com
Tue Jan 24 11:57:59 CST 2006


Jonathan Gold wrote:

> How can I refer to the form, using its 'id' attribute, in my
> clearColors code at the top of this message.

Replace "document.formColors" with "document.getElementById 
( 'formColors' )".

Peace,
Scott




More information about the Javascript mailing list