Javascript Reference
Table Elements > TR
javascript TR insertCell( )
Inserts a td element nested within the current tr element. The integer parameter points to the zero-based index in the cells collection where
javascript TR deleteCell( )
Removes a td or th element nested within the current tr element. The integer parameter points to the zero-based item in the row's cells col
javascript TR vAlign
Indicates the manner of vertical alignment of text within the cells of the current row.
javascript TR sectionRowIndex
Returns a zero-based integer representing the position of the current row among all other tr elements in the row grouping. A row grouping can be o
javascript TR rowIndex
Returns a zero-based integer representing the position of the current row among all other tr elements in the entire table. The count is based on t
javascript TR height
Specifies the pixel or percentage height of the row. To change the height of a row dynamically, adjust the element's style.height value rather tha
javascript TR focus( )
Gives focus from the current TR object, at which time the TR object's onfocus event fires.
javascript TR clientHeight, clientWidth
Broadly speaking, these provide the height and width of the TR element's content, but with minor variations with respect to element padding among vari
javascript TR chOff
Defines the offset point at which the character specified by the char attribute is to appear within a TR cell. In practice, neither IE nor Navigator r
javascript TR ch
Defines the text character used as an alignment point for text cells of the row. This property is normally of value only for the align attribute s
javascript TR cells[ ]
Returns a collection of td or th elements nested inside the table row. Items in the collection are in source code order.
javascript TR borderColorDark, borderColorLight
document.getElementById("myTR").borderColorDark = "blue"; document.getElementById("myTR").borderColorLight = "cornf
javascript TR borderColor
Specifies the color of the element's border. Internet Explorer applies the color to all four lines that make up the interior border of a cell. There
javascript TR blur( )
Removes focus from the current TR object, at which time the TR object's onblur event fires.
javascript TR bgColor
Specifies the background color of the table cells in the current row. This color setting is not reflected in the style sheet backgroundColor prope
1-15 / 17 >

Powered by Linode.