W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2005


From: Serkant Karaca <skaraca@internetteyim.net>
Date: Tue, 18 Oct 2005 23:38:48 +0300
Message-ID: <021901c5d423$f1989620$862bd751@ankara>
To: <www-dom@w3.org>
Currently, I'd like to reference a form from my javascript in the following manner:
document.forms[0][0].value = itemt;

I'd prefer to reference it by Name.  It has a Name, but not an Id.  Is this a problem?  Can I reference by name, and if so, how?  I've tried it before, but it didn't work.  Help.

Serkant KARACA
Senior Software Engineer

Received on Tuesday, 18 October 2005 20:38:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC