Platform Support
| Mozilla | Chrome | Safari | Opera | IE | Netscape | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ |
|---|
Constructors
| Constructor | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | ||
|---|---|---|---|---|---|---|---|---|---|
|
HTMLTableSelectionElement Constructor() : HTMLTableSelectionElement
Creates an instance of the HTMLTableSelectionElement.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ | ||
HTMLTableSelectionElement() : HTMLTableSelectionElementCreates an instance of the HTMLTableSelectionElement. Returns
|
|||||||||
Properties
| Property | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape |
|---|---|---|---|---|---|---|---|
|
rows
: HTMLCollection
Returns an HTMLCollection of the tr elements of the table section.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ |
|
|||||||
Inherited Functions
| Method | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
getElementsByClassName(String classNames) : NodeList
Returns a NodeList containing all the
Element nodes with the specified classNames. |
Show Details | 1.9+ | 5.0+ | 3.1+ | 9.51+ | no | no | |||||
|
Parameters
Returns
|
||||||||||||
Functions
| Method | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
insertRow(Number index) : HTMLElement
Creates a tr element, inserts it into the table section at the position given by the argument, and returns the tr.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ | |||||
|
Parameters
Returns
|
||||||||||||
|
deleteRow(Number index) :
void
Removes the tr element with the given position in the table section.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ | |||||
|
Parameters
|
||||||||||||
References
Availability
JavaScript 1.2|WhatWG