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 |
|
||
17 |
|
||
18 | |||
19 | The "insertBefore(newChild,refChild)" method raises a |
||
20 | HIERARCHY_REQUEST_ERR DOMException if the node to be |
||
21 | inserted is one of this nodes ancestors. |
||
22 | |||
23 | Retrieve the second employee and attempt to insert a |
||
24 | node that is one of its ancestors(root node). An |
||
25 | attempt to insert such a node should raise the |
||
26 | desired exception. |
||
27 | |||
28 | |||
29 |
|
||
30 | |||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | !DOCTYPE>!-- |