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 |
|
||
21 |
|
||
22 | |||
23 | The deleteRow() method deletes a row from this section. The index |
||
24 | starts from 0 and is relative only to the rows contained inside |
||
25 | this section, not all the rows in the table. If the index is -1 |
||
26 | the last row will be deleted. |
||
27 | |||
28 | Retrieve the second TBODY element and invoke the deleteRow() method |
||
29 | with an index of -1. The nuber of rows in the THEAD section before |
||
30 | the deletion of the row is two. After the row is deleted the number |
||
31 | of rows in the TBODY section is one. |
||
32 | |||
33 |
|
||
34 |
|
||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | !DOCTYPE>!-- |