Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3584 sourcerer 1
2
 
3
17
18
19
20
HTMLOptionsCollection03
21
NIST
22
23
    An HTMLOptionsCollection is a list of nodes representing HTML option
24
    element.
25
    An individual node may be accessed by either ordinal index, the node's
26
    name or id attributes.  (Test node name).
27
    The namedItem method retrieves a Node using a name.  It first searches
28
    for a node with a matching id attribute.  If it doesn't find one, it
29
    then searches for a Node with a matching name attribute, but only
30
    those elements that are allowed a name attribute.
31
 
32
    Retrieve the first FORM element.  Create a HTMLCollection of the elements.
33
    Search for an element that has select1 as the value for the name attribute.
34
    Get the nodeName of that element.
35
36
Rick Rivello
37
2002-08-01
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54