Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
3 | |||
4 | |||
18 | |||
19 | |||
20 | |||
21 |
|
||
22 |
|
||
23 | |||
24 | The getElementsByName method returns the (possibly empty) collection |
||
25 | of elements whose name value is given by the elementName. |
||
26 | |||
27 | Retrieve all the elements whose name attribute is "mapid". |
||
28 | Check the length of the nodelist. It should be 1. |
||
29 | |||
30 |
|
||
31 |
|
||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | !DOCTYPE>!-- |