[Project_owners] getElementsByTagName() problem
bugs4hj at yahoo.com
Wed Apr 12 11:37:54 EDT 2006
> Philip Chee wrote:
>> On Wed, 12 Apr 2006 09:33:50 +0100, Neil wrote:
>>> you can use
>>> var inputFields = Array.slice(doc.getElementsByTagName("input"));
> Yes, but in 1.6 it works on any object with length and item properties,
> not just arrays.
Note: because getElementsByTagName() returns a node list.
More information about the Project_owners