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
13
 
14
15
16
hc_elementGetElementsByTagName
17
Curt Arnold
18
19
The "getElementsByTagName(name)" method returns a list
20
of all descendant Elements in the order the children
21
were encountered in a pre order traversal of the element
22
tree.
23
 
24
Create a NodeList of all the descendant elements
25
using the string "p" as the tagName.
26
The method should return a NodeList whose length is
27
"5" in the order the children were encountered.
28
Access the FOURTH element in the NodeList.  The FOURTH
29
element, the first or second should be an "em" node with
30
the content "EMP0004".
31
32
 
33
2002-06-09
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61