Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | The "getElementsByTagName()" method returns a NodeList |
||
20 | of all descendant elements with a given tagName. |
||
21 | |||
22 | Invoke the "getElementsByTagName()" method and create |
||
23 | a NodeList of "position" elements. Retrieve the second |
||
24 | "position" element in the list and return the NodeName. |
||
25 | |||
26 |
|
||
27 |
|
||
28 | |||
29 | |||
30 | |||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | !--tagName>!--nodeName>!DOCTYPE>!-- |